Skip to content

File SolidSyslogFreeRtosMutex.h

FileList > FreeRtos > Interface > SolidSyslogFreeRtosMutex.h

Go to the source code of this file

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

  • #include "ExternC.h"

Public Functions

Type Name
struct SolidSyslogMutex * SolidSyslogFreeRtosMutex_Create (void)
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.
void SolidSyslogFreeRtosMutex_Destroy (struct SolidSyslogMutex * base)
Release the pool slot; deletes the underlying FreeRTOS mutex semaphore.

Detailed Description

Requires configSUPPORT_STATIC_ALLOCATION=1.

Public Functions Documentation

function 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
) 


function 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