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

Function luaC_runtilstate

third-party/lua-5.2.4/src/lgc.c:1110–1114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1108** by 'statemask'
1109*/
1110void luaC_runtilstate (lua_State *L, int statesmask) {
1111 global_State *g = G(L);
1112 while (!testbit(statesmask, g->gcstate))
1113 singlestep(L);
1114}
1115
1116
1117static void generationalcollection (lua_State *L) {

Callers 4

luaS_resizeFunction · 0.70
luaC_changemodeFunction · 0.70
generationalcollectionFunction · 0.70
luaC_fullgcFunction · 0.70

Calls 1

singlestepFunction · 0.70

Tested by

no test coverage detected