[][src]Module yaar_lock::future

Synchronization primitives based on futures.

Type Definitions

Mutexfeature="os"

A RawMutex backed by OsThreadEvent.

MutexGuardfeature="os"

A RawMutexGuard for Mutex.

MutexLockFuturefeature="os"

A RawMutexLockFuture for Mutex.

RawMutex

A futures-aware mutex.

RawMutexGuard

An RAII guard returned by the lock and try_lock methods of RawMutex. When this structure is dropped (falls out of scope), the lock will be unlocked.

RawMutexLockFuture

A future which resolves when the target mutex has been successfully acquired.

RawResetEvent

A synchronization primitive which can be either in the set or reset state.

RawSemaphore

A futures-aware semaphore.

RawSemaphoreAcquireFuture

A future which resolves when the target semaphore has been successfully acquired.

RawSemaphoreReleaser

An RAII guard returned by the acquire and try_acquire methods of RawSemaphore.

RawWaitForEventFuture

A Future that is resolved once the corresponding RawResetEvent has been set

ResetEventfeature="os"

A RawResetEvent backed by OsThreadEvent.

Semaphorefeature="os"

A RawSemaphore backed by OsThreadEvent.

SemaphoreAcquireFuturefeature="os"

A RawSemaphoreAcquireFuture for Semaphore.

SemaphoreReleaserfeature="os"

A RawSemaphoreReleaser for Semaphore.

WaitForEventFuturefeature="os"

A RawWaitForEventFuture for ResetEvent.