lib.rs
SHA-256ed442a1fe88f6f90e6f7d0599518113a75b77c4a1161947ab2e2afa54c0bf725
Malecule∅
Evidence
1:9… ight 2016 Amanieu d'Antras
2//
3// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4// http://apache.org/licenses/LICENSE-2.0> or t …
5:9… //opensource.org/licenses/MIT>, at your option. This file may not be
6// copied, modified, or distributed except according to those terms.
7
8//! This …
8:27… implementations of `Mutex`, `RwLock`, `Condvar` and
9//! `Once` that are smaller, faster and more flexible than those in the Rust
10//! standard library. It also prov …
38:27… ock_detection"))]
39mod deadlock;
40
41pub use once::{Once, ONCE_INIT, OnceState};
42pub use mutex::{Mutex, MutexGuard};
43pub use remutex::{ReentrantMutex, ReentrantMutexGuard};
44pub use condvar::{Condvar, WaitTimeoutResult};
45pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};
46
47#[cfg(feature = "owning_ref")]
48use owning_ref::OwningRef;
49
50/// Typedef of an owning reference that uses a `MutexGuard` as the owner.
51#[cfg(feature = "ow …