Home
last modified time | relevance | path

Searched refs:mainthread (Results 1 – 10 of 10) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlstring.c107 u->uv.next = G(L)->mainthread->next; in luaS_newudata()
108 G(L)->mainthread->next = obj2gco(u); in luaS_newudata()
H A Dlgc.c131 GCObject **p = &g->mainthread->next; in luaC_separateudata()
385 lua_assert(gco2th(o) != L && gco2th(o) != G(L)->mainthread); in freeobj()
455 udata->uv.next = g->mainthread->next; /* return it to `root' list */ in GCTM()
456 g->mainthread->next = o; in GCTM()
506 markobject(g, g->mainthread); in markroot()
508 markvalue(g, gt(g->mainthread)); in markroot()
535 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic()
H A Dlstate.c159 g->mainthread = L; in lua_newstate()
200 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
H A Dlstate.h90 struct lua_State *mainthread; member
H A Dlapi.c524 return (G(L)->mainthread == L); in lua_pushthread()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlstate.c280 g->mainthread = L; in lua_newstate()
316 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
H A Dldo.c179 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()
648 if (L != G(L)->mainthread) in lua_yieldk()
H A Dlstate.h144 struct lua_State *mainthread; member
H A Dlgc.c339 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 Dlapi.c595 return (G(L)->mainthread == L); in lua_pushthread()