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

Method tryLockRead

quantum/impl/quantum_read_write_spinlock_impl.h:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83inline
84bool ReadWriteSpinLock::tryLockRead()
85{
86 return SpinLockUtil::lockRead(_count, LockTraits::Attempt::Once);
87}
88
89inline
90bool ReadWriteSpinLock::tryLockWrite()

Callers 1

GuardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected