[−][src]Crate static_locks
Re-exports
pub use parking_lot; |
Structs
MappedMutexGuard | An RAII mutex guard returned by |
MappedReentrantMutexGuard | An RAII mutex guard returned by |
MappedRwLockReadGuard | An RAII read lock guard returned by |
MappedRwLockWriteGuard | An RAII write lock guard returned by |
Mutex | A mutual exclusion primitive useful for protecting shared data |
MutexGuard | An RAII implementation of a "scoped lock" of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked. |
ReentrantMutex | A mutex which can be recursively locked by a single thread. |
ReentrantMutexGuard | An RAII implementation of a "scoped lock" of a reentrant mutex. When this structure is dropped (falls out of scope), the lock will be unlocked. |
RwLock | A reader-writer lock |
RwLockReadGuard | RAII structure used to release the shared read access of a lock when dropped. |
RwLockUpgradableReadGuard | RAII structure used to release the upgradable read access of a lock when dropped. |
RwLockWriteGuard | RAII structure used to release the exclusive write access of a lock when dropped. |