Function core::arch::arm::__yield[][src]

pub unsafe fn __yield()
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on ARM only.
Expand description

生成一条 YIELD 提示指令。

这使多线程软件能够向硬件指示其正在执行任务 (例如自旋锁),可以将其换出以提高整体系统性能。