Skip to main content

RawSpinLock

Type Alias RawSpinLock 

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

A raw spin lock that does not alter interrupt or preemption state.

Callers must disable preemption and local interrupts before taking this lock, or prove that interrupt handlers never acquire it.

Aliased Typeยง

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