Type Definition r3_core::kernel::mutex::StaticMutex
source · pub type StaticMutex<System> = MutexRef<'static, System>;
Expand description
A static handle type: MutexRef
<'static, System>
This type is ABI-compatible with System::
RawMutexId
. It’s
logically equivalent to &'static Mutex
but instead stores
RawMutexId
directly.
See Mutex
for the owned counterpart and the description
of this kernel object.
See MutexMethods
for the operations provided by this handle
type.
Implementations§
source§impl<System: KernelMutex> StaticMutex<System>
impl<System: KernelMutex> StaticMutex<System>
sourcepub const fn define() -> MutexDefiner<System>
pub const fn define() -> MutexDefiner<System>
Construct a MutexDefiner
to define a mutex in a
configuration function.