__wfe in core::arch::aarch64 - Rust
Description: Generates a WFE (wait for event) hint instruction, or nothing.

Skip to main content

## __wfe

# Function __wfe

Source

    pub unsafe fn __wfe()

🔬This is a nightly-only experimental API. (`stdarch_arm_hints` #117218)
Available on (AArch64 or ARM64EC) and (ARM or AArch64 or ARM64EC) and (target feature `v6` or AArch64 or ARM64EC) only.
Expand description

Generates a WFE (wait for event) hint instruction, or nothing.

The WFE instruction allows (but does not require) the processor to enter a low-power state until some event occurs such as a SEV being issued by another processor.