embassy_sync::blocking_mutex

Type Alias CriticalSectionMutex

Source
pub type CriticalSectionMutex<T> = Mutex<CriticalSectionRawMutex, T>;
Expand description

A mutex that allows borrowing data across executors and interrupts.

§Safety

This mutex is safe to share between different executors and interrupts.

Aliased Type§

struct CriticalSectionMutex<T> { /* private fields */ }