Skip to main content

Module sync

Module sync 

Source
Expand description

Synchronization primitives for embedded systems

Structsยง

AtomicCounter
Atomic counter for statistics and monitoring
Barrier
Barrier for synchronizing multiple threads/tasks
Mutex
Simple mutex using spinlock
MutexGuard
RAII guard for mutex
Once
Once cell for one-time initialization
Semaphore
Semaphore for resource counting
Spinlock
Spinlock for mutual exclusion
SpinlockGuard
RAII guard for spinlock