[][src]Crate tokio_sync

Asynchronous synchronization primitives.

This crate provides primitives for synchronizing asynchronous tasks.

Modules

lock

An asynchronous Mutex-like type.

mpsc

A multi-producer, single-consumer queue for sending values across asynchronous tasks.

oneshot

A channel for sending a single message between asynchronous tasks.

semaphore

Thread-safe, asynchronous counting semaphore.

task

Thread-safe task notification primitives.

watch

A single-producer, multi-consumer channel that only retains the last sent value.