|
RTOS Wrapper
API reference
|
Cross-platform RTOS mutex and synchronization primitives. More...
Go to the source code of this file.
Classes | |
| class | RtosTime |
| class | RtosMutex |
| class | RtosSharedMutex |
| class | RtosUniqueLock< MutexT > |
| class | RtosSharedLock< SharedMutexT > |
Typedefs | |
| template<typename MutexT > | |
| using | RtosLockGuard = RtosUniqueLock< MutexT > |
| Convenience alias for unique lock guard. | |
| using | MutexLockGuard = RtosUniqueLock< RtosMutex > |
| Convenience alias for RtosMutex lock guard. | |
Cross-platform RTOS mutex and synchronization primitives.
This header provides platform-agnostic mutex, lock guard, and timing utilities for use by all layers above the MCU implementations (handlers, managers, API). The implementation is built on OsAbstraction.h which provides the underlying RTOS-portable primitives, so this code works across any supported RTOS (FreeRTOS, ThreadX future, Zephyr future) and bare-metal targets.
This is the authoritative location for RtosMutex — handlers and managers should include this file (from hf-utils-rtos-wrap) rather than reaching into the internal interface-wrap layer.
| using MutexLockGuard = RtosUniqueLock<RtosMutex> |
Convenience alias for RtosMutex lock guard.
| using RtosLockGuard = RtosUniqueLock<MutexT> |
Convenience alias for unique lock guard.