pub struct RawSpinlock {
state: AtomicU8,
irq_state: AtomicUsize,
location: AtomicPtr<Location<'static>>,
}Available on crate feature
full and non-crate feature use_std only.Fields§
§state: AtomicU8§irq_state: AtomicUsize§location: AtomicPtr<Location<'static>>Implementations§
Source§impl RawSpinlock
impl RawSpinlock
unsafe fn unlock_no_interrupts(&self)
fn lock_location(&self) -> Option<&'static Location<'static>>
Trait Implementations§
Source§impl RawMutex for RawSpinlock
impl RawMutex for RawSpinlock
Source§type GuardMarker = GuardNoSend
type GuardMarker = GuardNoSend
Marker type which determines whether a lock guard should be
Send. Use
one of the GuardSend or GuardNoSend helper types here.