pub fn hold_interrupts() -> HeldInterrupts
Expand description

Prevents regular interrupts from occurring until the returned HeldInterrupts object is dropped.

This function only affects regular IRQs; it does not affect NMIs or fast interrupts (FIQs on aarch64).