pub struct RawSpinlock {
state: AtomicU8,
irq_state: AtomicUsize,
}
Available on non-crate feature
use_std
only.Fields§
§state: AtomicU8
§irq_state: AtomicUsize
Implementations§
Source§impl RawSpinlock
impl RawSpinlock
unsafe fn unlock_no_interrupts(&self)
Trait Implementations§
1.0.0 · 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.