Skip to content

File SolidSyslogWindowsMutex.h

FileList > Interface > SolidSyslogWindowsMutex.h

Go to the source code of this file

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

  • #include "ExternC.h"

Public Functions

Type Name
struct SolidSyslogMutex * SolidSyslogWindowsMutex_Create (void)
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.
void SolidSyslogWindowsMutex_Destroy (struct SolidSyslogMutex * base)
Release the pool slot; deletes the underlying CRITICAL_SECTION.

Public Functions Documentation

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


function 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