1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
//! Future-aware synchronization
//!
//! This module, which is modeled after `std::sync`, contains user-space
//! synchronization tools that work with futures, streams and sinks. In
//! particular, these synchronizers do *not* block physical OS threads, but
//! instead work at the task level.

pub mod oneshot;
pub mod mpsc;
mod bilock;

pub use self::bilock::{BiLock, BiLockGuard, BiLockAcquire, BiLockAcquired};