![]() |
EM-ODP 4.4.0
Event Machine on ODP
|
#include <stdbool.h>#include <odp_api.h>#include <event_machine.h>#include <event_machine/platform/env/environment.h>#include "misc/list.h"#include "misc/objpool.h"

Go to the source code of this file.
Data Structures | |
| struct | queue_group_elem_t |
| struct | queue_group_tbl_t |
| struct | queue_group_pool_t |
Macros | |
| #define | S_(x) #x |
| #define | S(x) S_(x) |
Typedefs | |
| typedef struct queue_group_elem_t | ENV_CACHE_LINE_ALIGNED |
| typedef struct queue_group_tbl_t | queue_group_tbl_t |
| typedef struct queue_group_pool_t | queue_group_pool_t |
Functions | |
| COMPILE_TIME_ASSERT (EM_QUEUE_GROUP_NAME_LEN<=ODP_SCHED_GROUP_NAME_LEN, EM_QUEUE_GROUP_NAME_LEN_ERROR) | |
| COMPILE_TIME_ASSERT (sizeof(EM_QUEUE_GROUP_DEFAULT_NAME)<=EM_QUEUE_GROUP_NAME_LEN, EM_QUEUE_GROUP_DEFAULT_NAME_SIZE_ERROR) | |
| COMPILE_TIME_ASSERT (sizeof(EM_QUEUE_GROUP_CORE_BASE_NAME)+sizeof(S(EM_MAX_CORES))<=EM_QUEUE_GROUP_NAME_LEN, EM_QUEUE_GROUP_CORE_BASE_NAME_SIZE_ERROR) | |
| COMPILE_TIME_ASSERT (sizeof(queue_group_elem_t) % ENV_CACHE_LINE_SIZE==0, QUEUE_GROUP_ELEM_T__SIZE_ERROR) | |
EM internal queue group types & definitions
Definition in file em_queue_group_types.h.
| #define S | ( | x | ) | S_(x) |
Definition at line 56 of file em_queue_group_types.h.
| #define S_ | ( | x | ) | #x |
Definition at line 55 of file em_queue_group_types.h.
| typedef struct queue_group_elem_t ENV_CACHE_LINE_ALIGNED |
EM queue group element
| typedef struct queue_group_pool_t queue_group_pool_t |
Pool of free queue groups
Using two objpools:
| typedef struct queue_group_tbl_t queue_group_tbl_t |
EM queue group element table