Module concurrency_traits::semaphore[][src]

Expand description

Traits and implementations for semaphores.

Structs

AtomicSemaphore

A semaphore based on atomic operations.

FullAsyncSemaphore

A semaphore that has asynchronous operations.

ParkSemaphore

A semaphore based on thread parking

Traits

AsyncSemaphore

A generic semaphore that can be waited on asynchronously.

AsyncTimeoutSemaphore

A generic semaphore that can be waited on asynchronously with a timeout.

ReadoutSemaphore

A semaphore who’s count can be read.

Semaphore

A generic semaphore.

TimeoutSemaphore

A generic semaphore that can timeout.

TrySemaphore

A generic semaphore that has try operations.