Skip to main content

SunsetRawMutex

Type Alias SunsetRawMutex 

Source
pub type SunsetRawMutex = NoopRawMutex;
Expand description

A raw mutex

This is the RawMutex type used internally by sunset-async. When multi-thread feature for is enabled it will use embassy-sync’s CriticalSectionRawMutex, otherwise it will use NoopRawMutex (no locking is required for single threaded).

Applications may use this for their own embassy-sync data structures.

Aliased Type§

pub struct SunsetRawMutex { /* private fields */ }