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
A guard that provides mutable data access.
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.
A guard that provides mutable data access.