Function std::sync::atomic::spin_loop_hint

pub fn spin_loop_hint()
???? Deprecated since 1.51.0:

use hint::spin_loop instead

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

This function is deprecated in favor of hint::spin_loop.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/sync/atomic/fn.spin_loop_hint.html