Expand description
A naïve spinning mutex.
Waiting threads hammer an atomic variable until it becomes available. Best-case latency is low, but worst-case latency is theoretically infinite.
Structs§
- Spin
Mutex - A spin lock providing mutually exclusive access to data.
- Spin
Mutex Guard - A guard that provides mutable data access.