![]() |
EM-ODP 4.4.0
Event Machine on ODP
|


Go to the source code of this file.
Data Structures | |
| union | hook_fn_t |
| struct | hook_tbl_t |
| struct | hook_storage_t |
Macros | |
| #define | API_HOOKS_MAX_TBL_SIZE 255 |
| #define | ALLOC_HOOK 1 |
| #define | FREE_HOOK 2 |
| #define | SEND_HOOK 3 |
| #define | DISPATCH_CALLBACK_ENTER 4 |
| #define | DISPATCH_CALLBACK_EXIT 5 |
| #define | TO_IDLE_HOOK 6 |
| #define | TO_ACTIVE_HOOK 7 |
| #define | WHILE_IDLE_HOOK 8 |
Typedefs | |
| typedef void(* | void_hook_t) (void) |
Functions | |
| COMPILE_TIME_ASSERT (sizeof(hook_tbl_t)==ENV_CACHE_LINE_SIZE, HOOK_ALIGNMENT_ERROR) | |
| COMPILE_TIME_ASSERT (sizeof(hook_storage_t) % ENV_CACHE_LINE_SIZE==0, HOOK_STORAGE_ALIGNMENT_ERROR) | |
| COMPILE_TIME_ASSERT (sizeof(hook_storage_t)/ENV_CACHE_LINE_SIZE==API_HOOKS_MAX_TBL_SIZE+1, HOOK_STORAGE_SIZE_ERROR) | |
EM internal API hook types & definitions
Definition in file em_hook_types.h.
| #define ALLOC_HOOK 1 |
Definition at line 53 of file em_hook_types.h.
| #define API_HOOKS_MAX_TBL_SIZE 255 |
Definition at line 50 of file em_hook_types.h.
| #define DISPATCH_CALLBACK_ENTER 4 |
Definition at line 57 of file em_hook_types.h.
| #define DISPATCH_CALLBACK_EXIT 5 |
Definition at line 58 of file em_hook_types.h.
| #define FREE_HOOK 2 |
Definition at line 54 of file em_hook_types.h.
| #define SEND_HOOK 3 |
Definition at line 55 of file em_hook_types.h.
| #define TO_ACTIVE_HOOK 7 |
Definition at line 61 of file em_hook_types.h.
| #define TO_IDLE_HOOK 6 |
Definition at line 60 of file em_hook_types.h.
| #define WHILE_IDLE_HOOK 8 |
Definition at line 62 of file em_hook_types.h.
| typedef void(* void_hook_t) (void) |
Definition at line 64 of file em_hook_types.h.