Expand description
Wrappers around parking_lot locks, with a simple deadlock detection mechanism.
Structs§
- Mutex
- Provides interior mutability.
- RwLock
- Provides interior mutability.
- RwLock
Upgradable Read Guard - The lock you get from
RwLock::read_upgradable.
Type Aliases§
- Mutex
Guard - 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. - RwLock
Read Guard - The lock you get from
RwLock::read. RAII structure used to release the shared read access of a lock when dropped. - RwLock
Write Guard - The lock you get from
RwLock::write. RAII structure used to release the exclusive write access of a lock when dropped.