Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeneficialCode/WinArk
/ SharedLocker
Method
SharedLocker
KernelLibrary/AutoLock.h:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
template<typename TLock>
17
struct SharedLocker {
18
SharedLocker(TLock& lock) :m_lock(lock) {
19
m_lock.LockShared();
20
}
21
22
~SharedLocker() {
23
m_lock.UnlockShared();
Callers
nothing calls this directly
Calls
1
LockShared
Method · 0.80
Tested by
no test coverage detected