Expand description
A wrapper for the core::hint
module that emits either loom
spin loop
hints (when cfg(loom)
is enabled), or real spin loop hints when loom is
not enabled.
Functions§
- spin_
loop Non- loom
Emits a machine instruction to signal the processor that it is running in a busy-wait spin-loop (“spin lock”).