Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3
template<typename TLock>
4
struct AutoLock {
5
AutoLock(TLock& lock) :_lock(lock) {
6
_lock.Lock();
7
}
8
9
~AutoLock() {
10
_lock.Unlock();
Callers
nothing calls this directly
Calls
1
Lock
Method · 0.45
Tested by
no test coverage detected