Shared Persistent Heap Data Environment Manual
1.1.0
|
Instance of a Lock Free Logger Entry Handle. More...
#include <sphlflogger.h>
Public Attributes | |
SPHLFLogHeader_t * | entry |
char * | next |
unsigned short int | total_size |
unsigned short int | remaining |
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.
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