Searched refs:mainthread (Results 1 – 5 of 5) sorted by relevance
107 u->uv.next = G(L)->mainthread->next; in luaS_newudata()108 G(L)->mainthread->next = obj2gco(u); in luaS_newudata()
131 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()
159 g->mainthread = L; in lua_newstate()200 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
90 struct lua_State *mainthread; member
524 return (G(L)->mainthread == L); in lua_pushthread()