Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
83
inline
84
bool ReadWriteSpinLock::tryLockRead()
85
{
86
return SpinLockUtil::lockRead(_count, LockTraits::Attempt::Once);
87
}
88
89
inline
90
bool ReadWriteSpinLock::tryLockWrite()
Callers
1
Guard
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected