Crate async_lock
source ·Expand description
Async synchronization primitives.
This crate provides the following primitives:
Structs
A counter to synchronize multiple tasks at the same time.
Returned by
Barrier::wait()
when all tasks have called it.An async mutex.
A guard that releases the mutex when dropped.
An owned guard that releases the mutex when dropped.
A memory location that can be written to at most once.
An async reader-writer lock.
A guard that releases the read lock when dropped.
A guard that releases the upgradable read lock when dropped.
A guard that releases the write lock when dropped.
A counter for limiting the number of concurrent operations.
A guard that releases the acquired permit.
An owned guard that releases the acquired permit.