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

Function luaC_runtilstate

third-party/lua-5.5.0/src/lgc.c:1694–1699  ·  view source on GitHub ↗

** Advances the garbage collector until it reaches the given state. ** (The option 'fast' is only for testing; in normal code, 'fast' ** here is always true.) */

Source from the content-addressed store, hash-verified

1692** here is always true.)
1693*/
1694void luaC_runtilstate (lua_State *L, int state, int fast) {
1695 global_State *g = G(L);
1696 lua_assert(g->gckind == KGC_INC);
1697 while (state != g->gcstate)
1698 singlestep(L, fast);
1699}
1700
1701
1702

Callers 2

entergenFunction · 0.70
fullincFunction · 0.70

Calls 1

singlestepFunction · 0.70

Tested by

no test coverage detected