1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Mock implementation of `std::sync`. mod arc; pub mod atomic; mod condvar; mod mutex; mod notify; pub use self::arc::Arc; pub use self::condvar::{Condvar, WaitTimeoutResult}; pub use self::mutex::{Mutex, MutexGuard}; pub use self::notify::Notify; pub use std::sync::{LockResult, TryLockResult}; // TODO: deprecate pub use super::cell::{CausalCell, CausalCheck};