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

Method AutoGCUnblocking

include/hx/CFFI.h:274–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272{
273public:
274 AutoGCUnblocking() : mUnlocked( gc_try_unblocking() ) { }
275 ~AutoGCUnblocking() { Close(); }
276 void Close() { if (mUnlocked) gc_enter_blocking(); mUnlocked = false; }
277

Callers

nothing calls this directly

Calls 1

gc_try_unblockingFunction · 0.85

Tested by

no test coverage detected