Function std::sync::atomic::spin_loop_hint

1.24.0 · source ·
pub fn spin_loop_hint()
👎Deprecated since 1.51.0: use hint::spin_loop instead
Expand description

向处理器发出信号,通知它处于忙于等待的自旋循环 (自旋锁) 中。

不推荐使用此函数,而推荐使用 hint::spin_loop