Skip to content

Windows platform

«interface»SolidSyslogMutexWindowsMutexWindows

File SolidSyslogWindowsMutex.h

FileList > Interface > SolidSyslogWindowsMutex.h

A Mutex wrapping a Windows CRITICAL_SECTION, for thread-safe buffers and pools on a Windows host.

  • #include "SolidSyslogExternC.h"

Public Functions Documentation

SolidSyslogWindowsMutex_Create

Create takes no config and initialises the CRITICAL_SECTION; an exhausted pool falls back to the shared NullMutex, whose Lock and Unlock are no-ops.

struct SolidSyslogMutex * SolidSyslogWindowsMutex_Create (
    void
) 


SolidSyslogWindowsMutex_Destroy

Release the pool slot; deletes the underlying CRITICAL_SECTION.

void SolidSyslogWindowsMutex_Destroy (
    struct SolidSyslogMutex * base
) 



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