1 2 3 4 5 6 7 8 9 10 11 12
#![cfg_attr(feature = "nightly", feature(integer_atomics, core_intrinsics))] extern crate libc; extern crate integer_atomics; mod sys; pub mod raw; mod mutex; mod rwlock; pub use mutex::{Mutex, MutexGuard}; pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};