MCPcopy 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
56void TrackedLock::unlock() {
57 if (_owns) {
58 _owns = false;
59 _mutex->unlock();
60 }
61}

Callers 1

~DropAllTrackedLocksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected