Type Alias spinlock::SpinNoPreempt
source · pub type SpinNoPreempt<T> = BaseSpinLock<NoPreempt, T>;
Expand description
A spin lock that disables kernel preemption while trying to lock, and re-enables it after unlocking.
It must be used in the local IRQ-disabled context, or never be used in interrupt handlers.
Aliased Type§
struct SpinNoPreempt<T> { /* private fields */ }