rstubs::arch::int

Function suppress

source
pub fn suppress<R>(f: impl FnOnce() -> R) -> R
Expand description

Suppresses interrupts during the execution of f and restore the previous status afterwards.