EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
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 333 of file em_event_types.h.

Field Documentation

◆ ev_hdr

event_hdr_t event_prealloc_hdr::ev_hdr

Definition at line 334 of file em_event_types.h.

◆ 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 343 of file em_event_types.h.

◆ u8

uint8_t event_prealloc_hdr::u8[sizeof(event_hdr_t) - sizeof(list_node_t)]

Definition at line 337 of file em_event_types.h.


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