pub unsafe trait CfgMutex: CfgBase<System: KernelMutex> {
    // Required method
    fn mutex_define<Properties: Bag>(
        &mut self,
        descriptor: MutexDescriptor<Self::System>,
        properties: Properties
    ) -> <Self::System as KernelMutex>::RawMutexId;
}
Expand description

A low-level configurator trait providing a method to define a mutex in the kernel static configuration process.

Safety

See the module documentation.

Stability

See the module documentation.

Required Methods§

source

fn mutex_define<Properties: Bag>( &mut self, descriptor: MutexDescriptor<Self::System>, properties: Properties ) -> <Self::System as KernelMutex>::RawMutexId

Implementors§