EM-ODP  3.7.0
Event Machine on ODP
event_machine_init.c File Reference
#include "em_include.h"
Include dependency graph for event_machine_init.c:

Go to the source code of this file.

Functions

void em_conf_init (em_conf_t *conf)
 
em_status_t em_init (const em_conf_t *conf)
 
em_status_t em_init_core (void)
 
em_status_t em_term (const em_conf_t *conf)
 
em_status_t em_term_core (void)
 
uint16_t em_device_id (void)
 

Variables

em_shm_tem_shm
 
ENV_LOCAL em_locm_t em_locm ENV_CACHE_LINE_ALIGNED
 

Detailed Description

Event Machine initialization and termination.

Definition in file event_machine_init.c.

Variable Documentation

◆ em_shm

em_shm_t* em_shm

EM shared memory

Definition at line 41 of file event_machine_init.c.

◆ ENV_CACHE_LINE_ALIGNED

Initial value:
= {
.current.egrp = EM_EVENT_GROUP_UNDEF,
.current.sched_context_type = EM_SCHED_CONTEXT_TYPE_NONE,
.local_queues.empty = 1,
.do_input_poll = false,
.do_output_drain = false,
.sync_api.in_progress = false
}

Core local variables

Definition at line 44 of file event_machine_init.c.

EM_SCHED_CONTEXT_TYPE_NONE
@ EM_SCHED_CONTEXT_TYPE_NONE
Definition: event_machine_types.h:281
EM_EVENT_GROUP_UNDEF
#define EM_EVENT_GROUP_UNDEF
Definition: event_machine_types.h:141