File SolidSyslogFreeRtosMutex.h¶
FileList > FreeRtos > Interface > SolidSyslogFreeRtosMutex.h
#include "SolidSyslogExternC.h"
Detailed Description¶
A Mutex wrapping a statically-allocated FreeRTOS mutex semaphore, for buffers shared between tasks on a FreeRTOS target.
Requires configSUPPORT_STATIC_ALLOCATION=1 and configUSE_MUTEXES=1.
Public Functions Documentation¶
SolidSyslogFreeRtosMutex_Create¶
Create takes no config; an exhausted pool falls back to the shared NullMutex, whose Lock and Unlock are no-ops.
Without configSUPPORT_STATIC_ALLOCATION=1 and configUSE_MUTEXES=1 the adapter compiles to nothing, so the build fails to link rather than falling back.
SolidSyslogFreeRtosMutex_Destroy¶
Release the pool slot; deletes the underlying FreeRTOS mutex semaphore.
The documentation for this class was generated from the following file Platform/FreeRtos/Interface/SolidSyslogFreeRtosMutex.h