__yield in core::arch::aarch64 - Rust
Description: Generates a YIELD hint instruction.
Keywords: rust, rustlang, rust-lang, __yield

# Function core::arch::aarch64::__yield
[−][src]

    pub unsafe fn __yield()

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on AArch64 only.
Expand description

Generates a YIELD hint instruction.

This enables multithreading software to indicate to the hardware that it is performing a task, for example a spin-lock, that could be swapped out to improve overall system performance.