1 /// A synchronous mutual exclusion primitive useful for protecting shared data 2 pub type Mutex<T> = parking_lot::Mutex<T>; 3 4 /// A synchronous reader-writer lock 5 pub type RwLock<T> = parking_lot::RwLock<T>; 6 7 /// A synchronization primitive which can be used to run a one-time initialization. 8 pub type Once = parking_lot::Once; 9