EM-ODP  3.7.0
Event Machine on ODP
env_shm_buf_t Struct Reference
Collaboration diagram for env_shm_buf_t:

Data Fields

env_shm_hdr_t hdr
 
uint8_t data[] ENV_CACHE_LINE_ALIGNED
 

Detailed Description

Shared memory buffer incl. header

Definition at line 45 of file env_sharedmem.c.

Field Documentation

◆ ENV_CACHE_LINE_ALIGNED

uint8_t data [] env_shm_buf_t::ENV_CACHE_LINE_ALIGNED

Actual data buffer returned to user, needs to be aligned to cache line, even if wasting a bit of memory in the hdr, to ensure that the user data is properly aligned.

Definition at line 52 of file env_sharedmem.c.


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