MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / AutoLock

Method AutoLock

KernelLibrary/AutoLock.h:5–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3template<typename TLock>
4struct AutoLock {
5 AutoLock(TLock& lock) :_lock(lock) {
6 _lock.Lock();
7 }
8
9 ~AutoLock() {
10 _lock.Unlock();

Callers

nothing calls this directly

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected