![]() |
EM-ODP 4.4.0
Event Machine on ODP
|
#include <event_machine_hooks.h>
Data Fields | |
| em_idle_hook_to_idle_t | to_idle_hook |
| em_idle_hook_to_active_t | to_active_hook |
| em_idle_hook_while_idle_t | while_idle_hook |
Idle hooks given by the user via this struct to the em_init() will be called by the EM dispatcher on each core.
The EM dispatcher will call:
Not all the idle hooks need to be provided, use NULL for unused idle hooks.
Definition at line 258 of file event_machine_hooks.h.
| em_idle_hook_to_active_t em_idle_hooks_t::to_active_hook |
Idle hook called when entering the active state Initialize to NULL if unused.
Definition at line 268 of file event_machine_hooks.h.
| em_idle_hook_to_idle_t em_idle_hooks_t::to_idle_hook |
Idle hook called when entering the idle state Initialize to NULL if unused.
Definition at line 263 of file event_machine_hooks.h.
| em_idle_hook_while_idle_t em_idle_hooks_t::while_idle_hook |
Idle hook called while remaining in the idle state Initialize to NULL if unused.
Definition at line 273 of file event_machine_hooks.h.