๐ฌThis is a nightly-only experimental API. (
sync_poison_mod #134646)Re-exportsยง
use crate::cell::UnsafeCell;๐use crate::fmt;๐use crate::marker::PhantomData;๐use crate::mem;๐use crate::mem::ManuallyDrop;๐use crate::ops::Deref;๐use crate::ops::DerefMut;๐use crate::ptr::NonNull;๐use crate::sync::LockResult;๐use crate::sync::PoisonError;๐use crate::sync::TryLockError;๐use crate::sync::TryLockResult;๐use crate::sync::poison;๐Experimental use crate::sys::sync as sys;๐
Structsยง
- Mapped
Mutex Guard Experimental - An RAII mutex guard returned by
MutexGuard::map, which can point to a subfield of the protected data. When this structure is dropped (falls out of scope), the lock will be unlocked. - Mutex
Experimental - A mutual exclusion primitive useful for protecting shared data
- Mutex
Guard Experimental - An RAII implementation of a โscoped lockโ of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
Functionsยง
- guard_
lock ๐ - For use in
nonpoison::condvar. - guard_
poison ๐ - For use in
nonpoison::condvar.