1 2 3 4 5 6 7
pub mod condvar; pub mod mutex; pub mod rwlock; use std::sync::atomic::AtomicUsize; pub(crate) static NEXT_LOCK_ID: AtomicUsize = AtomicUsize::new(1);