EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
em_mem.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
#include <odp_api.h>
#include <event_machine.h>
#include <event_machine/helper/event_machine_debug.h>
#include <event_machine/platform/env/environment.h>
#include "em_atomic_group_types.h"
#include "em_chaining_types.h"
#include "em_core_types.h"
#include "em_dispatcher_types.h"
#include "em_eo_types.h"
#include "em_error_types.h"
#include "em_event_group_types.h"
#include "em_event_types.h"
#include "em_hook_types.h"
#include "em_init_types.h"
#include "em_internal_event_types.h"
#include "em_libconfig_types.h"
#include "em_pool_types.h"
#include "em_queue_group_types.h"
#include "em_queue_types.h"
#include "em_sync_api_types.h"
#include "em_timer_types.h"
Include dependency graph for em_mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  em_shm_t
 
struct  ODP_PACKED
 
struct  em_locm_t
 

Typedefs

typedef struct ODP_PACKED em_locm_current_t
 

Functions

 COMPILE_TIME_ASSERT (sizeof(em_shm_t) % ENV_CACHE_LINE_SIZE==0, EM_SHM_SIZE_ERROR)
 
 COMPILE_TIME_ASSERT ((sizeof(em_locm_t) % ENV_CACHE_LINE_SIZE)==0, EM_LOCM_SIZE_ERROR)
 

Variables

em_shm_tem_shm
 
ENV_LOCAL em_locm_t em_locm
 

Detailed Description

EM Shared & Local Memory data

Definition in file em_mem.h.

Typedef Documentation

◆ em_locm_current_t

typedef struct ODP_PACKED em_locm_current_t

EM core/local current state

Contains information about the current EO, queue, event group etc. when running in an EO context (e.g. in an EO-receive function), undef/NULL otherwise.

Variable Documentation

◆ em_locm

ENV_LOCAL em_locm_t em_locm
extern

EM core local memory

◆ em_shm

em_shm_t* em_shm
extern

EM shared memory pointer

EM shared memory

Definition at line 131 of file event_machine_init.c.