Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/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.c114 if (G(L)->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw()
115 setobjs2s(L, G(L)->mainthread->top++, L->top - 1); /* copy error obj. */ in luaD_throw()
116 luaD_throw(G(L)->mainthread, errcode); /* re-throw in main thread */ in luaD_throw()
577 if (L != G(L)->mainthread) in lua_yieldk()
H A Dlstate.h143 struct lua_State *mainthread; member
H A Dlgc.c340 markobject(g, g->mainthread); in restartcollection()
1003 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic()
1094 GCObject *mt = obj2gco(g->mainthread); in singlestep()
H A Dlapi.c597 return (G(L)->mainthread == L); in lua_pushthread()