MCPcopy Create free account
hub / github.com/anjo76/angelscript / GCThread

Function GCThread

sdk/tests/test_multithread/source/test_gc.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void GCThread(void *)
41{
42 // Invoke the garbage collector until it is time to stop
43 while( !stop )
44 engine->GarbageCollect();
45
46 // Give AngelScript a chance to cleanup some memory
47 asThreadCleanup();
48}
49
50bool Test()
51{

Callers

nothing calls this directly

Calls 2

asThreadCleanupFunction · 0.85
GarbageCollectMethod · 0.45

Tested by

no test coverage detected