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
andtry_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
andtry_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
andtry_acquire
methods. - A Future that is resolved once the corresponding ManualResetEvent has been set
Type Aliases§
- A
GenericManualResetEvent
which is not thread-safe. - A
GenericMutex
which is not thread-safe. - A
GenericMutexGuard
forLocalMutex
. - A
GenericMutexLockFuture
forLocalMutex
. - A
GenericSemaphore
which is not thread-safe. - A
GenericManualResetEvent
implementation backed byparking_lot
. - A
GenericMutex
backed byparking_lot
. - A
GenericMutexGuard
forMutex
. - A
GenericMutexLockFuture
forMutex
. - A
GenericSemaphore
backed byparking_lot
. - A
GenericSharedSemaphore
backed byparking_lot
.