MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / marktmu

Function marktmu

deps/lua/src/lgc.c:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114
115static void marktmu (global_State *g) {
116 GCObject *u = g->tmudata;
117 if (u) {
118 do {
119 u = u->gch.next;
120 makewhite(g, u); /* may be marked, if left from previous GC */
121 reallymarkobject(g, u);
122 } while (u != g->tmudata);
123 }
124}
125
126
127/* 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