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

Method Lock

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected