Expand description
Strategies that determine the behaviour of locks when encountering contention.
Structs§
- Loop
- A strategy that rapidly spins, without telling the CPU to do any powering down.
- Spin
- A strategy that rapidly spins while informing the CPU that it should power down non-essential components via
core::hint::spin_loop
.
Traits§
- Relax
Strategy - A trait implemented by spinning relax strategies.