MCPcopy Create free account
hub / github.com/bloomberg/quantum / tryLockWrite

Method tryLockWrite

quantum/impl/quantum_read_write_spinlock_impl.h:89–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89inline
90bool ReadWriteSpinLock::tryLockWrite()
91{
92 return SpinLockUtil::lockWrite(_count, LockTraits::Attempt::Once);
93}
94
95inline
96void ReadWriteSpinLock::unlockRead()

Callers 1

GuardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected