Expand description
TryRwLock
is a lightweight readers-writer lock implemented with atomics that does not support
blocking.
A readers-writer lock allows multiple readers or one writer to access it at a time.
§See Also
try-lock
and
try-mutex
provide a similar function to this, but
implement mutexes not readers-writer locks.
Structs§
- Read
Guard - A RAII guard that guarantees shared read access to a
TryRwLock
. - TryRw
Lock - A readers-writer lock.
- Write
Guard - A RAII guard that guarantees unique write access to a
TryRwLock
.