local_sync/
lib.rs

1//! Local Sync is a crate that providing non-thread-safe data structures useful
2//! for async programming.
3//! If you use a runtime with thread-per-core model(for example the Monoio), you
4//! may use this crate to avoid the cost of communicating across threads.
5
6// shared basic data structure
7mod linked_list;
8mod wake_list;
9
10// Semaphore
11pub mod semaphore;
12// BoundedChannel and UnboundedChannel
13pub mod mpsc;
14
15// OneshotChannel
16pub mod oneshot;
17
18// OnceCell
19mod once_cell;
20pub use once_cell::{OnceCell, SetError};