๐ฌThis is a nightly-only experimental API. (
sync_nonpoison #134645)Expand description
Non-poisoning synchronous locks.
The difference from the locks in the poison module is that the locks in this module will not
become poisoned when a thread panics while holding a guard.
Re-exportsยง
pub use self::condvar::Condvar;Experimental pub use self::mutex::MappedMutexGuard;Experimental pub use self::mutex::Mutex;Experimental pub use self::mutex::MutexGuard;Experimental pub use self::rwlock::MappedRwLockReadGuard;Experimental pub use self::rwlock::MappedRwLockWriteGuard;Experimental pub use self::rwlock::RwLock;Experimental pub use self::rwlock::RwLockReadGuard;Experimental pub use self::rwlock::RwLockWriteGuard;Experimental
Modulesยง
Structsยง
- Would
Block Experimental - A lock could not be acquired at this time because the operation would otherwise block.
Type Aliasesยง
- TryLock
Result Experimental - A type alias for the result of a nonblocking locking method.