Function rstubs::arch::int::idle

source ยท
pub fn idle()
Expand description

Enable interrupts and halt execution.

These two instructions are executed atomically, preventing race conditions, where an interrupt in between is missed.