|
libcortex
Event loop library following a "batteries included" approach
|
core structure of libcortex More...
#include <core.h>
Data Fields | |
| struct crtx_graph ** | graphs |
| unsigned int | n_graphs |
| MUTEX_TYPE | graphs_mutex |
| struct crtx_ll * | listeners |
| list of registered listeners | |
| MUTEX_TYPE | listeners_mutex |
| mutex that protects the list of listeners crtx_root::listeners | |
| struct crtx_dll * | graph_queue |
| MUTEX_TYPE | graph_queue_mutex |
| char | initialized |
| char | shutdown |
| char | reinit_after_shutdown |
| if true, reinitialize libcortex after a fork | |
| struct crtx_evloop_callback | shutdown_el_cb |
| void(* | reinit_cb )(void *cb_data) |
| callback function that is called during reinit after a fork | |
| void * | reinit_cb_data |
| const char * | chosen_event_loop |
| struct crtx_event_loop * | event_loop |
| struct crtx_ll * | event_loops |
| struct crtx_thread_job_description | evloop_job |
| struct crtx_thread * | evloop_thread |
| enum crtx_processing_mode | default_mode |
| enum crtx_processing_mode | force_mode |
| struct crtx_graph * | crtx_ctrl_graph |
| struct crtx_lstnr_plugin * | plugins |
| list of available plugins | |
| unsigned int | n_plugins |
| number of available plugins in crtx_root::plugins | |
| struct crtx_listener_repository * | listener_repository |
| unsigned int | listener_repository_length |
| struct crtx_ll * | handler_categories |
| int | global_fd_flags |
| struct crtx_listener_base * | selfpipe_lstnr |
| MUTEX_TYPE | mutex |
| void * | reserved1 |
| void * | reserved2 |
core structure of libcortex