Module spin

Source
Expand description

Spinlocks and related synchronization primitives.

Modules§

once
Cells storing a value which must be initialized prior to use.

Structs§

Backoff
An exponential backoff for spin loops.
InitOnce
A cell which may be initialized a single time after it is created.
Lazy
A cell which will be lazily initialized by the provided function the first time it is accessed.
RwSpinlock
A spinlock-based RawRwLock implementation.
Spinlock
A spinlock-based RawMutex implementation.