Module sync

Module sync 

Source
Expand description

Synchronization primitives for oveRTOS.

Provides RAII wrappers for mutexes, recursive mutexes, semaphores, events, and condition variables. All types implement Send + Sync and work in both heap and zero-heap modes.

Structsยง

CondVar
Condition variable.
Event
Binary event (signal/wait).
Mutex
RAII wrapper around ove_mutex_t.
MutexGuard
RAII guard that unlocks a Mutex when dropped.
RecursiveMutex
RAII wrapper around a recursive mutex.
RecursiveMutexGuard
RAII guard that unlocks a RecursiveMutex when dropped.
Semaphore
Counting semaphore.