Skip to content
«interface»SolidSyslogAtomicCounterStdAtomicCounterStdAtomicWindowsAtomicCounterWindowsNullAtomicCounterCore · no-opMetaSdCore

Struct SolidSyslogAtomicCounter

ClassList > SolidSyslogAtomicCounter

  • #include <SolidSyslogAtomicCounterDefinition.h>
struct SolidSyslogAtomicCounter
{
    uint32_t (*Increment)(struct SolidSyslogAtomicCounter* base);
};

Detailed Description

Extension point for supplying the sequenceId counter (see SolidSyslogAtomicCounter_Increment for the caller-facing contract).

An implementor is responsible for the wrap-aware [1, SOLIDSYSLOG_SEQUENCE_ID_MAX] range, for never yielding 0, and for making Increment safe under the concurrency its target platform allows.

Public Attributes Documentation

Increment

Advance and return the new value.

uint32_t(* SolidSyslogAtomicCounter::Increment) (struct SolidSyslogAtomicCounter *base);



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