Searched refs:gcrunning (Results 1 – 6 of 6) sorted by relevance
83 if (nsize > realosize && g->gcrunning) in luaM_realloc_()
211 g->gcrunning = 1; /* allow gc */ in f_luaopen()312 g->gcrunning = 0; /* no GC while building state */ in lua_newstate()
1047 g->gcrunning = 0; in lua_gc()1052 g->gcrunning = 1; in lua_gc()1070 lu_byte oldrunning = g->gcrunning; in lua_gc()1071 g->gcrunning = 1; /* allow GC to run */ in lua_gc()1081 g->gcrunning = oldrunning; /* restore previous state */ in lua_gc()1098 res = g->gcrunning; in lua_gc()
320 { if (G(L)->gcrunning) { pre; luaC_fullgc(L, 0); pos; } }
816 int running = g->gcrunning; in GCTM()818 g->gcrunning = 0; /* avoid GC steps */ in GCTM()826 g->gcrunning = running; /* restore state */ in GCTM()1132 if (!g->gcrunning) { /* not running? */ in luaC_step()
150 lu_byte gcrunning; /* true if GC is running */ member