MCPcopy Create free account
hub / github.com/Snapchat/Valdi / toStdLock

Method toStdLock

valdi_core/src/valdi_core/cpp/Utils/Mutex.cpp:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98void RecursiveMutex::unlock() {
99 _threadChecker.onUnlockRefCounted();
100 _innerMutex.unlock();
101}
102
103void RecursiveMutex::assertIsLocked() {
104 _threadChecker.assertIsLocked();
105}
106
107std::unique_lock<std::mutex> ConditionVariable::toStdLock(std::unique_lock<Mutex>& lock) {
108 if (lock.owns_lock()) {

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected