Module synchronoise::event

source ·
Expand description

“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§

  • A synchronization primitive that signals when its count reaches zero.
  • An opaque guard struct that decrements the count of a borrowed CountdownEvent on drop.
  • A synchronization primitive that allows one or more threads to wait on a signal from another thread.

Enums§