mainthread        456 host/minilua.c struct lua_State*mainthread;
mainthread       1334 host/minilua.c u->uv.next=G(L)->mainthread->next;
mainthread       1335 host/minilua.c G(L)->mainthread->next=obj2gco(u);
mainthread       1788 host/minilua.c GCObject**p=&g->mainthread->next;
mainthread       2050 host/minilua.c udata->uv.next=g->mainthread->next;
mainthread       2051 host/minilua.c g->mainthread->next=o;
mainthread       2089 host/minilua.c markobject(g,g->mainthread);
mainthread       2090 host/minilua.c markvalue(g,gt(g->mainthread));
mainthread       2342 host/minilua.c g->mainthread=L;
mainthread       2378 host/minilua.c L=G(L)->mainthread;
mainthread       5577 host/minilua.c return(G(L)->mainthread==L);
mainthread        730 lj_api.c         return (mainthread(G(L)) == L);
mainthread         93 lj_gc.c          gc_markobj(g, mainthread(g));
mainthread         94 lj_gc.c          gc_markobj(g, tabref(mainthread(g)->env));
mainthread        129 lj_gc.c          GCRef *p = &mainthread(g)->nextgc;
mainthread        515 lj_gc.c          setgcrefr(o->gch.nextgc, mainthread(g)->nextgc);
mainthread        516 lj_gc.c          setgcref(mainthread(g)->nextgc, o);
mainthread        580 lj_gc.c          lua_assert(!iswhite(obj2gco(mainthread(g))));
mainthread        785 lj_gc.c          copyTV(mainthread(g), &uv->tv, uvval(uv));
mainthread        245 lj_state.c       L = mainthread(g);  /* Only the main thread can be closed. */
mainthread        292 lj_state.c       lua_assert(L != mainthread(g));
mainthread         25 lj_udata.c       setgcrefr(ud->nextgc, mainthread(g)->nextgc);
mainthread         26 lj_udata.c       setgcref(mainthread(g)->nextgc, obj2gco(ud));