Searched refs:gcstopem (Results 1 – 5 of 5) sorted by relevance
58 #define cantryagain(g) (completestate(g) && !g->gcstopem)
268 lu_byte gcstopem; /* stops emergency collections */ member
216 int oldgcstop = G(L)->gcstopem; in luaD_reallocstack()219 G(L)->gcstopem = 1; /* stop emergency collection */ in luaD_reallocstack()222 G(L)->gcstopem = oldgcstop; /* restore emergency collection */ in luaD_reallocstack()
1586 lua_assert(!g->gcstopem); /* collector is not reentrant */ in singlestep()1587 g->gcstopem = 1; /* no emergency collections while collecting */ in singlestep()1630 g->gcstopem = 0; /* ok collections during finalizers */ in singlestep()1641 g->gcstopem = 0; in singlestep()
388 g->gcstopem = 0; in lua_newstate()