Home
last modified time | relevance | path

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

/redis-3.2.3/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()