Searched refs:mainthread (Results 1 – 6 of 6) sorted by relevance
/external/libxml2/ |
D | threads.c | 135 static pthread_t mainthread; variable 146 static DWORD mainthread; variable 156 thread_id mainthread = 0; variable 811 return (pthread_equal(mainthread,pthread_self())); in xmlIsMainThread() 813 return (mainthread == GetCurrentThreadId()); in xmlIsMainThread() 815 return (mainthread == find_thread(NULL)); in xmlIsMainThread() 955 mainthread = pthread_self(); in xmlOnceInit() 963 mainthread = GetCurrentThreadId(); in xmlOnceInit() 977 mainthread = find_thread(NULL); in xmlOnceInit()
|
/external/lua/src/ |
D | lstate.c | 276 memcpy(lua_getextraspace(L1), lua_getextraspace(g->mainthread), in lua_newthread() 310 g->mainthread = L; in lua_newstate() 342 L = G(L)->mainthread; /* only the main thread can be closed */ in lua_close()
|
D | ldo.c | 118 if (g->mainthread->errorJmp) { /* main thread has a handler? */ in luaD_throw() 119 setobjs2s(L, g->mainthread->top++, L->top - 1); /* copy error obj. */ in luaD_throw() 120 luaD_throw(g->mainthread, errcode); /* re-throw in main thread */ in luaD_throw() 699 if (L != G(L)->mainthread) in lua_yieldk()
|
D | lgc.c | 254 getuservalue(g->mainthread, gco2u(o), &uvalue); in reallymarkobject() 340 markobject(g, g->mainthread); in restartcollection() 988 lua_assert(!iswhite(g->mainthread)); in atomic() 1080 makewhite(g, g->mainthread); /* sweep main thread */ in singlestep()
|
D | lstate.h | 166 struct lua_State *mainthread; member
|
D | lapi.c | 578 return (G(L)->mainthread == L); in lua_pushthread()
|