loom/sync/
mod.rs

1//! Mock implementation of `std::sync`.
2
3mod arc;
4pub mod atomic;
5mod barrier;
6mod condvar;
7pub mod mpsc;
8mod mutex;
9mod notify;
10mod rwlock;
11
12pub use self::arc::Arc;
13pub use self::barrier::Barrier;
14pub use self::condvar::{Condvar, WaitTimeoutResult};
15pub use self::mutex::{Mutex, MutexGuard};
16pub use self::notify::Notify;
17pub use self::rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
18
19#[doc(no_inline)]
20pub use std::sync::{LockResult, TryLockResult};