Skip to main content

NoPreemptMutex

Type Alias NoPreemptMutex 

Source
pub type NoPreemptMutex<T> = SpinLock<T>;
Expand description

A mutex that disables preemption while held.

Callers must ensure the lock is not used by an interrupt handler.

Aliased Typeยง

pub struct NoPreemptMutex<T>(/* private fields */);