|
libcortex
Event loop library following a "batteries included" approach
|
a task basically represents a function that will be executed for an crtx_event More...
#include <core.h>
Data Fields | |
| const char * | id |
| unsigned char | position |
| position of the task in the graph | |
| struct crtx_graph * | graph |
| char * | event_type_match |
| if 0, task receives all events passing the graph | |
| crtx_handle_task_t | handle |
| function that is called with the current event | |
| crtx_handle_task_t | cleanup |
| void * | userdata |
| struct crtx_task * | prev |
| struct crtx_task * | next |
| void * | reserved1 |
| void * | reserved2 |
a task basically represents a function that will be executed for an crtx_event