EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
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
 
em_eo_start_local_mode_t start_local_mode
 
em_eo_stop_local_mode_t stop_local_mode
 
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
 
odp_ticketlock_t lock
 
list_node_t queue_list
 
odp_atomic_u32_t num_queues
 
odp_stash_t stash
 
em_eo_t eo
 
objpool_elem_t eo_pool_elem
 

Detailed Description

Field Documentation

◆ ENV_CACHE_LINE_ALIGNED

char name [EM_EO_NAME_LEN] eo_elem_t::ENV_CACHE_LINE_ALIGNED

EO name

Definition at line 57 of file em_eo_types.h.

◆ eo

em_eo_t eo_elem_t::eo

EO handle

Definition at line 94 of file em_eo_types.h.

◆ eo_ctx

void* eo_elem_t::eo_ctx

EO context data pointer

Definition at line 84 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 96 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 82 of file em_eo_types.h.

◆ lock

odp_ticketlock_t eo_elem_t::lock

EO elem lock

Definition at line 86 of file em_eo_types.h.

◆ max_events

int eo_elem_t::max_events

Max number of events passed to the receive-function: can be > 1 for multi-rcv

Definition at line 75 of file em_eo_types.h.

◆ num_queues

odp_atomic_u32_t eo_elem_t::num_queues

Number of queues

Definition at line 90 of file em_eo_types.h.

◆ queue_list

list_node_t eo_elem_t::queue_list

EO queue list

Definition at line 88 of file em_eo_types.h.

◆ receive_func

em_receive_func_t eo_elem_t::receive_func

EO event receive function

Definition at line 77 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 79 of file em_eo_types.h.

◆ start_func

em_start_func_t eo_elem_t::start_func

EO start function

Definition at line 61 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 63 of file em_eo_types.h.

◆ start_local_mode

em_eo_start_local_mode_t eo_elem_t::start_local_mode

EO local start function mode

Definition at line 69 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 92 of file em_eo_types.h.

◆ state

em_eo_state_t eo_elem_t::state

EO state

Definition at line 59 of file em_eo_types.h.

◆ stop_func

em_stop_func_t eo_elem_t::stop_func

EO stop function

Definition at line 65 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 67 of file em_eo_types.h.

◆ stop_local_mode

em_eo_stop_local_mode_t eo_elem_t::stop_local_mode

EO local stop function mode

Definition at line 71 of file em_eo_types.h.

◆ use_multi_rcv

int eo_elem_t::use_multi_rcv

Is EO using multi-receive?: true:receive_multi_func(), false:receive_func()

Definition at line 73 of file em_eo_types.h.


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