EM-ODP  3.7.0
Event Machine on ODP
loc_func_retval_t Struct Reference

#include <em_internal_event_types.h>

Collaboration diagram for loc_func_retval_t:

Data Fields

eo_elem_teo_elem
 
queue_elem_tq_elem
 
int delete_queues
 
em_event_t event
 
env_atomic32_t free_at_zero
 
em_status_t core [EM_MAX_CORES]
 

Detailed Description

Store local function return values into a common struct for later inspection

Definition at line 69 of file em_internal_event_types.h.

Field Documentation

◆ core

em_status_t loc_func_retval_t::core[EM_MAX_CORES]

Slot for each core to store the actual local func retval

Definition at line 87 of file em_internal_event_types.h.

◆ delete_queues

int loc_func_retval_t::delete_queues

Request to also delete the queues when removing them, em_eo_remove_queue_all(_sync)(...) only

Definition at line 78 of file em_internal_event_types.h.

◆ eo_elem

eo_elem_t* loc_func_retval_t::eo_elem

EO elem related to the local functions

Definition at line 71 of file em_internal_event_types.h.

◆ event

em_event_t loc_func_retval_t::event

store allocated event handle inside struct for em_free()

Definition at line 80 of file em_internal_event_types.h.

◆ free_at_zero

env_atomic32_t loc_func_retval_t::free_at_zero

For error situation handling, use count to determine a safe time to free this struct/event without multicore race conditions

Definition at line 85 of file em_internal_event_types.h.

◆ q_elem

queue_elem_t* loc_func_retval_t::q_elem

Queue elem related to the local functions

Definition at line 73 of file em_internal_event_types.h.


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