pause in core::arch::riscv64 - Rust
Description: Generates the `PAUSE` instruction
Keywords: rust, rustlang, rust-lang, pause

# Function core::arch::riscv64::pause

source · [−]

    pub fn pause()

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
Available on RISC-V RV64 only.
Expand description

Generates the `PAUSE` instruction

The PAUSE instruction is a HINT that indicates the current hart’s rate of instruction retirement should be temporarily reduced or paused. The duration of its effect must be bounded and may be zero.