Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ lock
Method
lock
valdi_core/src/valdi_core/cpp/Utils/Mutex.cpp:63–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
Mutex::~Mutex() = default;
62
63
void Mutex::lock() {
64
_threadChecker.assertNotLocked();
65
_innerMutex.lock();
66
_threadChecker.onLock();
67
}
68
69
void Mutex::unlock() {
70
_threadChecker.onUnlock();
Callers
5
ensureInner
Method · 0.45
strongRef
Function · 0.45
getProxy
Method · 0.45
dispose
Method · 0.45
barrier
Method · 0.45
Calls
3
assertNotLocked
Method · 0.80
onLock
Method · 0.80
onLockRefCounted
Method · 0.80
Tested by
no test coverage detected