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 ARM and (AArch64 or ARM or ARM64EC) and (AArch64 or ARM64EC or target feature `v6`) 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.