EM-ODP  3.7.0
Event Machine on ODP
eo_elem_t Struct Reference

#include <em_eo_types.h>

Collaboration diagram for eo_elem_t:

Data Fields

char name[EM_EO_NAME_LENENV_CACHE_LINE_ALIGNED
 
em_eo_state_t state
 
em_start_func_t start_func
 
em_start_local_func_t start_local_func
 
em_stop_func_t stop_func
 
em_stop_local_func_t stop_local_func
 
int use_multi_rcv
 
int max_events
 
em_receive_func_t receive_func
 
em_receive_multi_func_t receive_multi_func
 
em_error_handler_t error_handler_func
 
void * eo_ctx
 
env_spinlock_t lock
 
list_node_t queue_list
 
env_atomic32_t num_queues
 
odp_stash_t stash
 
em_eo_t eo
 
objpool_elem_t eo_pool_elem
 

Detailed Description

EM EO element

Definition at line 47 of file em_eo_types.h.

Field Documentation

◆ ENV_CACHE_LINE_ALIGNED

char name [EM_EO_NAME_LEN] eo_elem_t::ENV_CACHE_LINE_ALIGNED

EO name

Definition at line 49 of file em_eo_types.h.

◆ eo

em_eo_t eo_elem_t::eo

EO handle

Definition at line 81 of file em_eo_types.h.

◆ eo_ctx

void* eo_elem_t::eo_ctx

EO context data pointer

Definition at line 71 of file em_eo_types.h.

◆ eo_pool_elem

objpool_elem_t eo_elem_t::eo_pool_elem

EO pool elem for linking free EOs for EO-alloc

Definition at line 83 of file em_eo_types.h.

◆ error_handler_func

em_error_handler_t eo_elem_t::error_handler_func

EO specific error handler function

Definition at line 69 of file em_eo_types.h.

◆ lock

env_spinlock_t eo_elem_t::lock

EO elem lock

Definition at line 73 of file em_eo_types.h.

◆ num_queues

env_atomic32_t eo_elem_t::num_queues

Number of queues

Definition at line 77 of file em_eo_types.h.

◆ queue_list

list_node_t eo_elem_t::queue_list

EO queue list

Definition at line 75 of file em_eo_types.h.

◆ receive_func

em_receive_func_t eo_elem_t::receive_func

EO event receive function

Definition at line 64 of file em_eo_types.h.

◆ receive_multi_func

em_receive_multi_func_t eo_elem_t::receive_multi_func

EO multi-event receive function

Definition at line 66 of file em_eo_types.h.

◆ start_func

em_start_func_t eo_elem_t::start_func

EO start function

Definition at line 53 of file em_eo_types.h.

◆ start_local_func

em_start_local_func_t eo_elem_t::start_local_func

EO core-local start function

Definition at line 55 of file em_eo_types.h.

◆ stash

odp_stash_t eo_elem_t::stash

Buffered events sent during the EO start-function

Definition at line 79 of file em_eo_types.h.

◆ state

em_eo_state_t eo_elem_t::state

EO state

Definition at line 51 of file em_eo_types.h.

◆ stop_func

em_stop_func_t eo_elem_t::stop_func

EO stop function

Definition at line 57 of file em_eo_types.h.

◆ stop_local_func

em_stop_local_func_t eo_elem_t::stop_local_func

EO core-local stop function

Definition at line 59 of file em_eo_types.h.


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