[][src]Crate try_rwlock

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

ReadGuard

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

TryRwLock

A readers-writer lock.

WriteGuard

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