Searched refs:mainthread (Results 1 – 11 of 11) sorted by relevance
| /freebsd-13.1/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_kill.c | 77 pthread_t mainthread; variable 86 ATF_REQUIRE_MSG((self != mainthread) && (signo == SIGUSR1), in sighandler() 120 mainthread = pthread_self(); in ATF_TC_BODY() 131 ATF_REQUIRE_EQ_MSG(self, mainthread, "thread id changed"); in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lstate.c | 308 memcpy(lua_getextraspace(L1), lua_getextraspace(g->mainthread), in lua_newthread() 369 g->mainthread = L; in lua_newstate() 407 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
|
| H A D | ldo.c | 123 if (g->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw() 124 setobjs2s(L, g->mainthread->top++, L->top - 1); /* copy error obj. */ in luaD_throw() 125 luaD_throw(g->mainthread, errcode); /* re-throw in main thread */ in luaD_throw() 749 if (L != G(L)->mainthread) in lua_yieldk()
|
| H A D | lstate.h | 260 struct lua_State *mainthread; member
|
| H A D | lgc.c | 94 #define markvalue(g,o) { checkliveness(g->mainthread,o); \ 399 markobject(g, g->mainthread); in restartcollection() 1509 deletelist(L, g->allgc, obj2gco(g->mainthread)); in luaC_freeallobjects() 1523 lua_assert(!iswhite(g->mainthread)); in atomic()
|
| H A D | lapi.c | 605 return (G(L)->mainthread == L); in lua_pushthread()
|
| /freebsd-13.1/sys/contrib/openzfs/module/lua/ |
| H A D | lstate.c | 280 g->mainthread = L; in lua_newstate() 316 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
|
| H A D | ldo.c | 179 if (G(L)->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw() 180 setobjs2s(L, G(L)->mainthread->top++, L->top - 1); /* copy error obj. */ in luaD_throw() 181 luaD_throw(G(L)->mainthread, errcode); /* re-throw in main thread */ in luaD_throw() 647 if (L != G(L)->mainthread) in lua_yieldk()
|
| H A D | lstate.h | 144 struct lua_State *mainthread; member
|
| H A D | lgc.c | 339 markobject(g, g->mainthread); in restartcollection() 1002 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic() 1093 GCObject *mt = obj2gco(g->mainthread); in singlestep()
|
| H A D | lapi.c | 595 return (G(L)->mainthread == L); in lua_pushthread()
|