Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
89
inline
90
bool ReadWriteSpinLock::tryLockWrite()
91
{
92
return SpinLockUtil::lockWrite(_count, LockTraits::Attempt::Once);
93
}
94
95
inline
96
void ReadWriteSpinLock::unlockRead()
Callers
1
Guard
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected