Shared Persistent Heap Data Environment Manual
1.1.0
|
Instance of a Lock Free event data Entry Handle. More...
#include <sphlfentry.h>
Public Attributes | |
SPHLFEntryHeader_t * | entry |
char * | next |
unsigned short int | total_size |
unsigned short int | remaining |
Instance of a Lock Free event data 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.
SPHLFEntryHeader_t* SPHLFEntryHandle_t::entry |
address of the start of the Queue entry
char* SPHLFEntryHandle_t::next |
address of the next avail byte(s) of storage
unsigned short int SPHLFEntryHandle_t::remaining |
Remaining bytes of free storage in the entry
unsigned short int SPHLFEntryHandle_t::total_size |
Total allocated size of the event entry