Skip to content

FreeRTOS platform

«interface»SolidSyslogMutexFreeRtosMutexFreeRtos

File SolidSyslogFreeRtosMutex.h

FileList > FreeRtos > Interface > SolidSyslogFreeRtosMutex.h

  • #include "SolidSyslogExternC.h"

Detailed Description

A Mutex wrapping a statically-allocated FreeRTOS mutex semaphore, for thread-safe buffers and pools on a FreeRTOS target.

Requires configSUPPORT_STATIC_ALLOCATION=1.

Public Functions Documentation

SolidSyslogFreeRtosMutex_Create

Create takes no config; an exhausted pool - or a build without configSUPPORT_STATIC_ALLOCATION=1, where xSemaphoreCreateMutexStatic yields no handle - falls back to the shared NullMutex, whose Lock and Unlock are no-ops.

struct SolidSyslogMutex * SolidSyslogFreeRtosMutex_Create (
    void
) 


SolidSyslogFreeRtosMutex_Destroy

Release the pool slot; deletes the underlying FreeRTOS mutex semaphore.

void SolidSyslogFreeRtosMutex_Destroy (
    struct SolidSyslogMutex * base
) 



The documentation for this class was generated from the following file Platform/FreeRtos/Interface/SolidSyslogFreeRtosMutex.h