Type Definition r3::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.