EM-ODP  3.7.0
Event Machine on ODP
event_prealloc_hdr Union Reference

#include <em_event_types.h>

Collaboration diagram for event_prealloc_hdr:

Data Fields

event_hdr_t ev_hdr
 
struct {
   uint8_t   u8 [sizeof(event_hdr_t) - sizeof(list_node_t)]
 
   list_node_t   list_node
 
}; 
 

Detailed Description

Event header used only when pre-allocating the pool during pool creation to be able to link all the event headers together into a linked list. Make sure not to overwrite the event state information in the header with the linked list information.

Definition at line 301 of file em_event_types.h.

Field Documentation

◆ list_node

list_node_t event_prealloc_hdr::list_node

Pool pre-allocation: allocate and link each event in the pool into a linked list to be able to initialize the event state into a known state for ESV.

Definition at line 311 of file em_event_types.h.


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