[][src]Module synchronoise::event

"Event" primitives, allowing one thread to wait on a signal or countdown from other threads.

The primary types in this module are the CountdownEvent and the SignalEvent structs. See the documentation on those types for further information.

Structs

CountdownEvent

A synchronization primitive that signals when its count reaches zero.

CountdownGuard

An opaque guard struct that decrements the count of a borrowed CountdownEvent on drop.

SignalEvent

A synchronization primitive that allows one or more threads to wait on a signal from another thread.

Enums

CountdownError

The collection of errors that can be returned by CountdownEvent methods.

SignalKind

Determines the reset behavior of a SignalEvent.