Skip to content
«interface»SolidSyslogMutexFreeRtosMutexFreeRtosPosixMutexPosixWindowsMutexWindowsNullMutexCore · no-opCircularBufferCore

Struct SolidSyslogMutex

ClassList > SolidSyslogMutex

  • #include <SolidSyslogMutexDefinition.h>
struct SolidSyslogMutex
{
    void (*Lock)(struct SolidSyslogMutex* base);
    void (*Unlock)(struct SolidSyslogMutex* base);
};

Detailed Description

The one synchronisation seam a CircularBuffer needs: it guards the ring's producer (Log/Write) against its consumer (Service/Read).

Core takes the lock only around each buffer operation and never nests it, so a plain non-recursive mutex suffices; Lock may block until the holder releases. Single-task builds inject SolidSyslogNullMutex, whose Lock/Unlock are no-ops.

Public Attributes Documentation

Lock

void(* SolidSyslogMutex::Lock) (struct SolidSyslogMutex *base);

Unlock

void(* SolidSyslogMutex::Unlock) (struct SolidSyslogMutex *base);


The documentation for this class was generated from the following file Core/Interface/SolidSyslogMutexDefinition.h