cooptex 0.2.1

Deadlock free Mutexes
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(all(test, feature = "loom-tests"))]
pub use loom::{
    sync::{Arc, Condvar, LockResult, Mutex, MutexGuard},
    thread_local,
};

#[cfg(not(all(test, feature = "loom-tests")))]
pub use std::{
    sync::{Arc, Condvar, LockResult, Mutex, MutexGuard},
    thread_local,
};