core::arch::x86

Function _mm_pause

1.27.0 · source
pub unsafe fn _mm_pause()
Available on x86 and (x86 or x86-64) only.
Expand description

Provides a hint to the processor that the code sequence is a spin-wait loop.

This can help improve the performance and power consumption of spin-wait loops.

Intel’s documentation