summaryrefslogtreecommitdiffstats
path: root/third_party/rust/tokio-util/src/sync/mod.rs
blob: de392f0bb126db92d6f0a14cc01a0d6234e5c6bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Synchronization primitives

mod cancellation_token;
pub use cancellation_token::{guard::DropGuard, CancellationToken, WaitForCancellationFuture};

mod mpsc;
pub use mpsc::{PollSendError, PollSender};

mod poll_semaphore;
pub use poll_semaphore::PollSemaphore;

mod reusable_box;
pub use reusable_box::ReusableBoxFuture;