Expand description
Wrappers around parking_lot locks, with a simple deadlock detection mechanism.
Structs§
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. An RAII read lock guard returned byRwLockReadGuard::map, which can point to a subfield of the protected data. - RwLock
Write Guard - The lock you get from
RwLock::write. An RAII write lock guard returned byRwLockWriteGuard::map, which can point to a subfield of the protected data.