Skip to main content

Crate re_mutex

Crate re_mutex 

Source
Expand description

Wrappers around parking_lot locks, with a simple deadlock detection mechanism.

Structs§

Mutex
Provides interior mutability.
RwLock
Provides interior mutability.
RwLockUpgradableReadGuard
The lock you get from RwLock::read_upgradable.

Type Aliases§

MutexGuard
The lock you get from Mutex. An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
RwLockReadGuard
The lock you get from RwLock::read. RAII structure used to release the shared read access of a lock when dropped.
RwLockWriteGuard
The lock you get from RwLock::write. RAII structure used to release the exclusive write access of a lock when dropped.