pub type RawInterruptTicketMutex = RawInterruptMutex<RawTicketMutex>;
Expand description

An interrupt-safe RawTicketMutex.

Aliased Type§

struct RawInterruptTicketMutex { /* private fields */ }

Trait Implementations§

source§

impl<I: RawMutex> RawMutex for RawInterruptMutex<I>

source§

const INIT: Self = _

Initial value for an unlocked mutex.
§

type GuardMarker = GuardNoSend

Marker type which determines whether a lock guard should be Send. Use one of the GuardSend or GuardNoSend helper types here.
source§

fn lock(&self)

Acquires this mutex, blocking the current thread until it is able to do so.
source§

fn try_lock(&self) -> bool

Attempts to acquire this mutex without blocking. Returns true if the lock was successfully acquired and false otherwise.
source§

unsafe fn unlock(&self)

Unlocks this mutex. Read more
source§

fn is_locked(&self) -> bool

Checks whether the mutex is currently locked.
source§

impl<I: Send> Send for RawInterruptMutex<I>

source§

impl<I: Sync> Sync for RawInterruptMutex<I>