Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ resumeLock
Method
resumeLock
valdi_core/src/valdi_core/cpp/Utils/TrackedLock.cpp:53–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
_owns = true;
52
_mutex->lock();
53
}
54
}
55
56
void TrackedLock::unlock() {
57
if (_owns) {
58
_owns = false;
59
_mutex->unlock();
60
}
61
}
Callers
1
~DropAllTrackedLocks
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected