MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / ~TAutoLock

Method ~TAutoLock

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

Source from the content-addressed store, hash-verified

150{
151 TAutoLock(LOCKABLE &inMutex) : mMutex(inMutex) { mMutex.Lock(); }
152 ~TAutoLock() { mMutex.Unlock(); }
153 void Lock() { mMutex.Lock(); }
154 void Unlock() { mMutex.Unlock(); }
155

Callers

nothing calls this directly

Calls 1

UnlockMethod · 0.45

Tested by

no test coverage detected