Module futures::sync
[−]
[src]
Future-aware synchronization
This module, which is modeled after std::sync
, contains user-space
synchronization tools that work with futures, streams and sinks. In
particular, these synchronizers do not block physical OS threads, but
instead work at the task level.
More information and examples of how to use these synchronization primitives can be found online at tokio.rs.
Modules
mpsc |
A multi-producer, single-consumer, futures-aware, FIFO queue with back pressure. |
oneshot |
A one-shot, futures-aware channel |
Structs
BiLock |
A type of futures-powered synchronization primitive which is a mutex between two possible owners. |
BiLockAcquire |
Future returned by |
BiLockAcquired |
Resolved value of the |
BiLockGuard |
Returned RAII guard from the |