MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaC_runtilstate

Function luaC_runtilstate

third-party/lua-5.3.5/src/lgc.c:1104–1108  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1102** by 'statemask'
1103*/
1104void luaC_runtilstate (lua_State *L, int statesmask) {
1105 global_State *g = G(L);
1106 while (!testbit(statesmask, g->gcstate))
1107 singlestep(L);
1108}
1109
1110
1111/*

Callers 1

luaC_fullgcFunction · 0.70

Calls 1

singlestepFunction · 0.70

Tested by

no test coverage detected