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
1588 lua_assert(!g->gcstopem); /* collector is not reentrant */ in singlestep()1589 g->gcstopem = 1; /* no emergency collections while collecting */ in singlestep()1632 g->gcstopem = 0; /* ok collections during finalizers */ in singlestep()1643 g->gcstopem = 0; in singlestep()
223 int oldgcstop = G(L)->gcstopem; in luaD_reallocstack()226 G(L)->gcstopem = 1; /* stop emergency collection */ in luaD_reallocstack()229 G(L)->gcstopem = oldgcstop; /* restore emergency collection */ in luaD_reallocstack()
391 g->gcstopem = 0; in lua_newstate()