Crate shared_mutex [] [src]

shared-mutex

A RwLock that can be used with a Condvar.

Modules

monitor

A monitor convenience type that couples a SharedMutex and a Condvar.

Structs

MappedSharedMutexReadGuard

A read guard to a sub-borrow of an original SharedMutexReadGuard.

MappedSharedMutexWriteGuard

A write guard to a sub-borrow of an original SharedMutexWriteGuard.

RawSharedMutex

A raw lock providing both shared read locks and exclusive write locks.

SharedMutex

A lock providing both shared read locks and exclusive write locks.

SharedMutexReadGuard

A shared read guard on a SharedMutex.

SharedMutexWriteGuard

An exclusive write guard on a SharedMutex.