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

Function enterinc

lib/lua/src/lgc.c:1345–1354  ·  view source on GitHub ↗

** Enter incremental mode. Turn all objects white, make all ** intermediate lists point to NULL (to avoid invalid pointers), ** and go to the pause state. */

Source from the content-addressed store, hash-verified

1343** and go to the pause state.
1344*/
1345static void enterinc (global_State *g) {
1346 whitelist(g, g->allgc);
1347 g->reallyold = g->old1 = g->survival = NULL;
1348 whitelist(g, g->finobj);
1349 whitelist(g, g->tobefnz);
1350 g->finobjrold = g->finobjold1 = g->finobjsur = NULL;
1351 g->gcstate = GCSpause;
1352 g->gckind = KGC_INC;
1353 g->lastatomic = 0;
1354}
1355
1356
1357/*

Callers 3

luaC_changemodeFunction · 0.85
fullgenFunction · 0.85
stepgenfullFunction · 0.85

Calls 1

whitelistFunction · 0.85

Tested by

no test coverage detected