Shared Persistent Heap Data Environment Manual  1.1.0
Public Attributes | List of all members
SPHLFLoggerHandle_t Struct Reference

Instance of a Lock Free Logger Entry Handle. More...

#include <sphlflogger.h>

Public Attributes

SPHLFLogHeader_tentry
 
char * next
 
unsigned short int total_size
 
unsigned short int remaining
 

Detailed Description

Instance of a Lock Free Logger Entry Handle.

Contains fields required to: locate the entry, record the total space allocated to the entry, and manage the next location within the entry and remaining storage.

Entry Handles should be allocated in private (local stack) storage
to allow concurrent access to independent entries from multiple threads.

Member Data Documentation

SPHLFLogHeader_t* SPHLFLoggerHandle_t::entry

address of the start of the event entry

char* SPHLFLoggerHandle_t::next

address of the next avail byte(s) of storage

unsigned short int SPHLFLoggerHandle_t::remaining

Remaining bytes of free storage in the entry

unsigned short int SPHLFLoggerHandle_t::total_size

Total allocated size of the event entry


The documentation for this struct was generated from the following file: