2020-04-06 20:19:58 +00:00
|
|
|
//! Asynchronous pipes, channels, mutexes, and other primitives.
|
2020-03-31 16:04:16 +00:00
|
|
|
|
2020-03-06 15:52:04 +00:00
|
|
|
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
|
|
|
|
2020-02-29 21:47:45 +00:00
|
|
|
mod chan;
|
2020-04-05 11:50:09 +00:00
|
|
|
mod lock;
|
2020-02-29 21:47:45 +00:00
|
|
|
mod mutex;
|
|
|
|
mod pipe;
|
2020-04-05 11:50:09 +00:00
|
|
|
mod shared;
|
2020-03-20 13:53:11 +00:00
|
|
|
mod signal;
|
2020-02-29 21:47:45 +00:00
|
|
|
|
|
|
|
pub use chan::{chan, Receiver, Sender};
|
2020-04-05 11:50:09 +00:00
|
|
|
pub use lock::{Lock, LockGuard};
|
2020-02-29 21:47:45 +00:00
|
|
|
pub use mutex::{Mutex, MutexGuard};
|
|
|
|
pub use pipe::{pipe, Reader, Writer};
|
2020-04-05 11:50:09 +00:00
|
|
|
pub use shared::Shared;
|