pub(crate) mod atomic {
pub use core::sync::atomic::*;
pub use portable_atomic::AtomicU64;
}
pub(crate) use alloc::sync::Arc;
pub(crate) use spin::Mutex;
pub(crate) use spin::MutexGuard;
#[cfg(all(feature = "shuttle", test))]
pub(crate) use shuttle::thread;
#[cfg(all(feature = "std", not(all(feature = "shuttle", test))))]
#[allow(unused_imports)]
pub(crate) use std::thread;
#[cfg(all(feature = "std", test, not(all(feature = "shuttle", test))))]
#[allow(unused_imports)]
pub(crate) use std::sync::Barrier;