Struct hermit_sync::RawInterruptMutex
source · pub struct RawInterruptMutex<I> { /* private fields */ }Expand description
An interrupt-safe mutex.
This mutex wraps another RawMutex and disables interrupts while locked.
Only has an effect if target_os = "none".
Trait Implementations§
source§impl<I: RawMutex> RawMutex for RawInterruptMutex<I>
impl<I: RawMutex> RawMutex for RawInterruptMutex<I>
§type GuardMarker = <I as RawMutex>::GuardMarker
type GuardMarker = <I as RawMutex>::GuardMarker
Marker type which determines whether a lock guard should be
Send. Use
one of the GuardSend or GuardNoSend helper types here. Read more