☰
In core::arch::arm
?
Function
core
::
arch
::
arm
::
__yield
source
·
[
−
]
pub unsafe fn __yield()
🔬
This is a nightly-only experimental API. (
stdsimd
#48556
)
Available on
ARM
only.
Expand description
生成一条 YIELD 提示指令。
这使多线程软件能够向硬件指示其正在执行任务 (例如自旋锁),可以将其换出以提高整体系统性能。