Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dlapi.c1137 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()
H A Dlstate.c239 g->gcstp = 0; /* allow gc */ in f_luaopen()
381 g->gcstp = GCSTPGC; /* no GC while building state */ in lua_newstate()
H A Dlgc.h158 #define gcrunning(g) ((g)->gcstp == 0)
H A Dlgc.c915 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()
H A Dlstate.h271 lu_byte gcstp; /* control whether GC is running */ member