Struct riot_sys::mutex_cancel_t[][src]

#[repr(C)]
pub struct mutex_cancel_t { pub mutex: *mut mutex_t, pub thread: *mut thread_t, pub cancelled: u8, }
Expand description

@brief A cancellation structure for use with @ref mutex_lock_cancelable and @ref mutex_cancel

@note The contents of this structure are internal.

Fields

mutex: *mut mutex_t

< The mutex to lock

thread: *mut thread_t

< The thread trying to lock the mutex

cancelled: u8

< Flag whether the mutex has been cancelled

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.