MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / marktmu

Function marktmu

Source/Misc/lua/src/lua.c:6117–6126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6115
6116
6117static void marktmu (global_State *g) {
6118GCObject *u = g->tmudata;
6119if (u) {
6120do {
6121u = u->gch.next;
6122makewhite(g, u); /* may be marked, if left from previous GC */
6123reallymarkobject(g, u);
6124} while (u != g->tmudata);
6125}
6126}
6127
6128
6129/* move `dead' udata that need finalization to list `tmudata' */

Callers 1

atomicFunction · 0.85

Calls 1

reallymarkobjectFunction · 0.85

Tested by

no test coverage detected