Skip to main content

Module sync

Module sync 

Source
Expand description

Sim-aware synchronization primitives: Event and FIFO-fair Lock (design-doc mapping row 17 — std/tokio primitives don’t know sim time).

Structs§

Acquire
Event
Manual-reset event; wait() completes immediately if already set.
EventWait
Lock
LockGuard
RAII lock guard; drop releases (fair handoff to the next waiter).