MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / luaC_runtilstate

Function luaC_runtilstate

Dependencies/lua/src/lgc.c:1652–1656  ·  view source on GitHub ↗

** advances the garbage collector until it reaches a state allowed ** by 'statemask' */

Source from the content-addressed store, hash-verified

1650** by 'statemask'
1651*/
1652void luaC_runtilstate (lua_State *L, int statesmask) {
1653 global_State *g = G(L);
1654 while (!testbit(statesmask, g->gcstate))
1655 singlestep(L);
1656}
1657
1658
1659

Callers 4

gc_stateFunction · 0.85
entergenFunction · 0.85
stepgenfullFunction · 0.85
fullincFunction · 0.85

Calls 1

singlestepFunction · 0.85

Tested by 1

gc_stateFunction · 0.68