MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Unlock

Method Unlock

extern/re2/util/mutex.h:72–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70Mutex::~Mutex() { }
71void Mutex::Lock() { AcquireSRWLockExclusive(&mutex_); }
72void Mutex::Unlock() { ReleaseSRWLockExclusive(&mutex_); }
73void Mutex::ReaderLock() { AcquireSRWLockShared(&mutex_); }
74void Mutex::ReaderUnlock() { ReleaseSRWLockShared(&mutex_); }
75

Callers 1

~MutexLockMethod · 0.80

Calls 2

ReleaseSRWLockExclusiveFunction · 0.85
unlockMethod · 0.45

Tested by

no test coverage detected