Searched refs:mainthread (Results 1 – 11 of 11) sorted by relevance
147 static pthread_t mainthread; variable158 static DWORD mainthread; variable168 thread_id mainthread = 0; variable816 return (pthread_equal(mainthread,pthread_self())); in xmlIsMainThread()818 return (mainthread == GetCurrentThreadId()); in xmlIsMainThread()820 return (mainthread == find_thread(NULL)); in xmlIsMainThread()958 mainthread = pthread_self(); in xmlOnceInit()966 mainthread = GetCurrentThreadId(); in xmlOnceInit()980 mainthread = find_thread(NULL); in xmlOnceInit()
287 g->mainthread = L; in lua_newstate()323 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
110 if (G(L)->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw()111 setobjs2s(L, G(L)->mainthread->top++, L->top - 1); /* copy error obj. */ in luaD_throw()112 luaD_throw(G(L)->mainthread, errcode); /* re-throw in main thread */ in luaD_throw()573 if (L != G(L)->mainthread) in lua_yieldk()
143 struct lua_State *mainthread; member
340 markobject(g, g->mainthread); in restartcollection()1003 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic()1094 GCObject *mt = obj2gco(g->mainthread); in singlestep()
598 return (G(L)->mainthread == L); in lua_pushthread()
278 g->mainthread = L; in lua_newstate()316 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
110 if (G(L)->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw()111 setobjs2s(L, G(L)->mainthread->top++, L->top - 1); /* copy error obj. */ in luaD_throw()112 luaD_throw(G(L)->mainthread, errcode); /* re-throw in main thread */ in luaD_throw()565 if (L != G(L)->mainthread) in lua_yieldk()
340 markobject(g, g->mainthread); in restartcollection()996 lua_assert(!iswhite(obj2gco(g->mainthread))); in atomic()1087 GCObject *mt = obj2gco(g->mainthread); in singlestep()