Searched refs:gcrunning (Results 1 – 6 of 6) sorted by relevance
81 if (nsize > realosize && g->gcrunning) in luaM_realloc_()88 if (g->gcrunning) { in luaM_realloc_()
192 g->gcrunning = 1; /* allow gc */ in f_luaopen()284 g->gcrunning = 0; /* no GC while building state */ in lua_newstate()
305 ((void)(!(G(L)->gcrunning) || (luaC_fullgc(L, 0), 1)))
125 lu_byte gcrunning; /* true if GC is running */ member
818 int running = g->gcrunning; in GCTM()820 g->gcrunning = 0; /* avoid GC steps */ in GCTM()826 g->gcrunning = running; /* restore state */ in GCTM()1179 if (g->gcrunning) luaC_forcestep(L); in luaC_step()
1027 g->gcrunning = 0; in lua_gc()1032 g->gcrunning = 1; in lua_gc()1055 if (g->gcrunning) in lua_gc()1080 res = g->gcrunning; in lua_gc()