Function agb::interrupt::free

source ·
pub fn free<F, R>(f: F) -> Rwhere
    F: FnOnce(CriticalSection<'_>) -> R,
Expand description

How you can access mutexes outside of interrupts by being given a CriticalSection