EM-ODP  3.7.0
Event Machine on ODP
em_hook_types.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

EM internal API hook types & definitions

Definition in file em_hook_types.h.