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