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

Method Clean

include/hx/Thread.h:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 bool TryLock() { return TryEnterCriticalSection(&mCritSec); }
62 bool IsValid() { return mValid; }
63 void Clean()
64 {
65 if (mValid)
66 {
67 DeleteCriticalSection(&mCritSec);
68 mValid = false;
69 }
70 }
71
72 bool mValid;
73 CRITICAL_SECTION mCritSec;

Callers 1

CleanMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected