1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
//! Useful synchronization primitives.

pub mod spsc;

mod mutex;
mod rwlock;

pub use self::{
    mutex::{Mutex, MutexGuard},
    rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard},
};