Skip to main content
Module reentrant_lock
Source use crate::cell::UnsafeCell; ๐ use crate::fmt; ๐ use crate::ops::Deref; ๐ use crate::panic::RefUnwindSafe; ๐ use crate::panic::UnwindSafe; ๐ use crate::sys::sync as sys; ๐ use crate::thread::ThreadId; ๐ use crate::thread::current_id; ๐ Experimentaluse crate::sync::atomic::Ordering::Relaxed; ๐ use crate::sync::atomic::Atomic; ๐ Experimentaluse crate::sync::atomic::AtomicU64; ๐
- Tid ๐
- ReentrantLockExperimental
- A re-entrant mutual exclusion lock
- ReentrantLockGuardExperimental
- An RAII implementation of a โscoped lockโ of a re-entrant lock. When this
structure is dropped (falls out of scope), the lock will be unlocked.