Expand description
Asynchronous synchronization primitives based on intrusive collections.
This module provides various primitives for synchronizing concurrently executing futures.
Structs§
- Generic
Manual Reset Event - A synchronization primitive which can be either in the set or reset state.
- Generic
Mutex - A futures-aware mutex.
- Generic
Mutex Guard - An RAII guard returned by the
lock
andtry_lock
methods. When this structure is dropped (falls out of scope), the lock will be unlocked. - Generic
Mutex Lock Future - A future which resolves when the target mutex has been successfully acquired.
- Generic
Semaphore - A futures-aware semaphore.
- Generic
Semaphore Acquire Future - A future which resolves when the target semaphore has been successfully acquired.
- Generic
Semaphore Releaser - An RAII guard returned by the
acquire
andtry_acquire
methods. - Generic
Shared Semaphore - A futures-aware shared semaphore.
- Generic
Shared Semaphore Acquire Future - A future which resolves when the target semaphore has been successfully acquired.
- Generic
Shared Semaphore Releaser - An RAII guard returned by the
acquire
andtry_acquire
methods. - Generic
Wait ForEvent Future - A Future that is resolved once the corresponding ManualResetEvent has been set
Type Aliases§
- Local
Manual Reset Event - A
GenericManualResetEvent
which is not thread-safe. - Local
Mutex - A
GenericMutex
which is not thread-safe. - Local
Mutex Guard - A
GenericMutexGuard
forLocalMutex
. - Local
Mutex Lock Future - A
GenericMutexLockFuture
forLocalMutex
. - Local
Semaphore - A
GenericSemaphore
which is not thread-safe. - Local
Semaphore Acquire Future - A
GenericSemaphoreAcquireFuture
forLocalSemaphore
. - Local
Semaphore Releaser - A
GenericSemaphoreReleaser
forLocalSemaphore
. - Local
Wait ForEvent Future - A
GenericWaitForEventFuture
forLocalManualResetEvent
. - Manual
Reset Event - A
GenericManualResetEvent
implementation backed byparking_lot
. - Mutex
- A
GenericMutex
backed byparking_lot
. - Mutex
Guard - A
GenericMutexGuard
forMutex
. - Mutex
Lock Future - A
GenericMutexLockFuture
forMutex
. - Semaphore
- A
GenericSemaphore
backed byparking_lot
. - Semaphore
Acquire Future - A
GenericSemaphoreAcquireFuture
forSemaphore
. - Semaphore
Releaser - A
GenericSemaphoreReleaser
forSemaphore
. - Shared
Semaphore - A
GenericSharedSemaphore
backed byparking_lot
. - Shared
Semaphore Acquire Future - A
GenericSharedSemaphoreAcquireFuture
forSharedSemaphore
. - Shared
Semaphore Releaser - A
GenericSharedSemaphoreReleaser
forSharedSemaphore
. - Wait
ForEvent Future - A
GenericWaitForEventFuture
forManualResetEvent
.