MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaC_runtilstate

Function luaC_runtilstate

lib/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 3

entergenFunction · 0.85
stepgenfullFunction · 0.85
fullincFunction · 0.85

Calls 2

singlestepFunction · 0.85
GFunction · 0.50

Tested by

no test coverage detected