Home
last modified time | relevance | path

Searched refs:gcstopem (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlmem.c58 #define cantryagain(g) (completestate(g) && !g->gcstopem)
H A Dlstate.h268 lu_byte gcstopem; /* stops emergency collections */ member
H A Dldo.c216 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()
H A Dlgc.c1586 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()
H A Dlstate.c388 g->gcstopem = 0; in lua_newstate()