1.24.0[][src]Function core::sync::atomic::spin_loop_hint

pub fn spin_loop_hint()

Signals the processor that it is inside a busy-wait spin-loop ("spin lock").

This function is expected to be deprecated in favor of hint::spin_loop.

Note: On platforms that do not support receiving spin-loop hints this function does not do anything at all.