Function rstubs::arch::int::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.