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

Method onUnlock

valdi_core/src/valdi_core/cpp/Utils/Mutex.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void MutexThreadChecker::onUnlock() {
23 _storage->threadIdWithLock.store(std::thread::id());
24}
25
26void MutexThreadChecker::onLockRefCounted() {
27 _storage->threadIdWithLock.store(std::this_thread::get_id());

Callers 1

unlockMethod · 0.80

Calls 2

idFunction · 0.85
storeMethod · 0.65

Tested by

no test coverage detected