EM-ODP
3.7.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 254 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 264 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 259 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 269 of file event_machine_hooks.h.