1 #[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
3 #[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
5 #[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
6 // Note that to make debug_sync's regex work this must not contain `debug_string` in the module name
7 mod test_lockorder_checks;
9 #[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
10 pub(crate) mod fairrwlock;
11 #[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
12 pub use {std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard}, fairrwlock::FairRwLock};
14 #[cfg(not(feature = "std"))]
16 #[cfg(not(feature = "std"))]
17 pub use nostd_sync::*;