Skip to main content

Module irq_mutex

Module irq_mutex 

Source
Expand description

Interrupt-aware spinlock (IrqMutex).

Authors: MarioS271

Structsยง

IrqMutex
Spinlock for data shared between normal kernel code and interrupt handlers; disables interrupts while held to avoid self-deadlock.
IrqMutexGuard
RAII guard for IrqMutex; releases the lock and restores the interrupt flag on drop.