Home
last modified time | relevance | path

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

/l4re-core-master/lua/lib/contrib/src/
A Dlstate.c307 memcpy(lua_getextraspace(L1), lua_getextraspace(g->mainthread), in lua_newthread()
373 g->mainthread = L; in lua_newstate()
412 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
A Dldo.c123 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()
818 if (L != G(L)->mainthread) in lua_yieldk()
A Dlstate.h291 struct lua_State *mainthread; member
A Dlgc.c94 #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()
A Dlapi.c623 return (G(L)->mainthread == L); in lua_pushthread()

Completed in 14 milliseconds