3 ms·
Actually, the parking_lot mutex is fair: https://docs.rs/parking_lot/0.10.0/parking_lot/type.Mutex.html#fairness https://docs.rs/parking_lot/0.10.0/parking_lot/
by Diggsey 7y ago
Actually, the parking_lot mutex is fair:
https://docs.rs/parking_lot/0.10.0/parking_lot/type.Mutex.html#fairness https://docs.rs/parking_lot/0.10.0/parking_lot/type.Mutex.ht...
The high waiting variance is because the benchmark randomly decides which locks to take, meaning that the amount of contention is variable.