Module latches::futex

source ·
Available on crate feature futex only.
Expand description

The futex implementation.

It depends on the atomic-wait feature.

It does not support timeouts.

Structs

  • A latch is a downward counter which can be used to synchronize threads. The value of the counter is initialized on creation. Threads may block on the latch until the counter is decremented to 0.