MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / GCAddRoot

Method GCAddRoot

src/hx/gc/Immix.cpp:2379–2383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2377static OffsetRootSet *sgOffsetRootSet=0;
2378
2379void GCAddRoot(hx::Object **inRoot)
2380{
2381 std::lock_guard<std::mutex> lock(*sGCRootLock);
2382 sgRootSet.insert(inRoot);
2383}
2384
2385void GCRemoveRoot(hx::Object **inRoot)
2386{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected