pub struct AxRawMutex { /* private fields */ }Expand description
A non-recursive, urgency-ordered PI mutex implementing lock_api::RawMutex.
The uncontended path uses a Linux rtmutex-style atomic owner word. Its high bit forces contenders through the metadata lock while waiter publication, donation registration, and handoff are in progress. Blocking and targeted wake happen after that metadata guard has been released.
Implementations§
Trait Implementations§
Source§impl RawMutex for RawMutex
impl RawMutex for RawMutex
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.Auto Trait Implementations§
impl !Freeze for RawMutex
impl !RefUnwindSafe for RawMutex
impl Send for RawMutex
impl Sync for RawMutex
impl Unpin for RawMutex
impl UnsafeUnpin for RawMutex
impl UnwindSafe for RawMutex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more