Searched refs:gcstp (Results 1 – 5 of 5) sorted by relevance
1137 if (g->gcstp & GCSTPGC) /* internal stop? */ in lua_gc()1143 g->gcstp = GCSTPUSR; /* stopped by the user */ in lua_gc()1148 g->gcstp = 0; /* (GCSTPGC must be already zero here) */ in lua_gc()1167 lu_byte oldstp = g->gcstp; in lua_gc()1168 g->gcstp = 0; /* allow GC to run (GCSTPGC must be zero here) */ in lua_gc()1178 g->gcstp = oldstp; /* restore previous state */ in lua_gc()
239 g->gcstp = 0; /* allow gc */ in f_luaopen()381 g->gcstp = GCSTPGC; /* no GC while building state */ in lua_newstate()
158 #define gcrunning(g) ((g)->gcstp == 0)
915 int oldgcstp = g->gcstp; in GCTM()916 g->gcstp |= GCSTPGC; /* avoid GC steps */ in GCTM()924 g->gcstp = oldgcstp; /* restore state */ in GCTM()1021 (g->gcstp & GCSTPCLS)) /* or closing state? */ in luaC_checkfinalizer()1511 g->gcstp = GCSTPCLS; /* no extra finalizers after here */ in luaC_freeallobjects()
271 lu_byte gcstp; /* control whether GC is running */ member