Skip to content

VxWorks 6.4 platform

«interface»SolidSyslogAtomicCounterVxWorks64AtomicCounterVxWorks64

File SolidSyslogVxWorks64AtomicCounter.h

FileList > Interface > SolidSyslogVxWorks64AtomicCounter.h

  • #include "SolidSyslogExternC.h"

Detailed Description

An AtomicCounter for a VxWorks 6.4 kernel (VIP) build, backing the RFC 5424 sequenceId.

Increment runs with interrupts locked (intLock), so it is safe to call from tasks and from interrupt service routines alike. That holds because VxWorks 6.4 runs on a single CPU: locking interrupts excludes every other writer.

Public Functions Documentation

SolidSyslogVxWorks64AtomicCounter_Create

Create takes no config; an exhausted pool falls back to SolidSyslogNullAtomicCounter.

struct SolidSyslogAtomicCounter * SolidSyslogVxWorks64AtomicCounter_Create (
    void
) 


SolidSyslogVxWorks64AtomicCounter_Destroy

Release the pool slot; the counter's state is discarded.

void SolidSyslogVxWorks64AtomicCounter_Destroy (
    struct SolidSyslogAtomicCounter * base
) 



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