Crate synchronization

Source

Modulesยง

blocking_mutex
Blocking mutex.
channel
A queue for sending values between asynchronous tasks.
lazy_lock
Synchronization primitive for initializing a value once, allowing others to get a reference to the value.
mutex
Async mutex.
once_lock
Synchronization primitive for initializing a value once, allowing others to await a reference to the value.
pipe
Async byte stream pipe.
priority_channel
A queue for sending values between asynchronous tasks.
pubsub
Implementation of PubSubChannel, a queue where published messages get received by all subscribers.
rwlock
Async read-write lock.
semaphore
A synchronization primitive for controlling access to a pool of resources.
signal
A synchronization primitive for passing the latest value to a task.
waitqueue
Async low-level wait queues
watch
A synchronization primitive for passing the latest value to multiple receivers.
zerocopy_channel
A zero-copy queue for sending values between asynchronous tasks.