Module futures_intrusive::sync
source · [−]Expand description
Asynchronous synchronization primitives based on intrusive collections.
This module provides various primitives for synchronizing concurrently executing futures.
Structs
A synchronization primitive which can be either in the set or reset state.
A futures-aware mutex.
An RAII guard returned by the lock and try_lock methods.
When this structure is dropped (falls out of scope), the lock will be
unlocked.
A future which resolves when the target mutex has been successfully acquired.
A futures-aware semaphore.
A future which resolves when the target semaphore has been successfully acquired.
An RAII guard returned by the acquire and try_acquire methods.
A futures-aware shared semaphore.
A future which resolves when the target semaphore has been successfully acquired.
An RAII guard returned by the acquire and try_acquire methods.
A Future that is resolved once the corresponding ManualResetEvent has been set
Type Definitions
A GenericManualResetEvent which is not thread-safe.
A GenericMutex which is not thread-safe.
A GenericSemaphore which is not thread-safe.
A GenericManualResetEvent implementation backed by parking_lot.
A GenericMutex backed by parking_lot.
A GenericMutexGuard for Mutex.
A GenericSemaphore backed by parking_lot.
A GenericSharedSemaphore backed by parking_lot.