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.


A RAII guard that guarantees shared read access to a TryRwLock.

A readers-writer lock.

A RAII guard that guarantees unique write access to a TryRwLock.