Lely core libraries
2.2.5
|
An executable task. More...
#include <task.h>
Data Fields | |
ev_exec_t * | exec |
A pointer to the executor to which the task is (to be) submitted. | |
ev_task_func_t * | func |
The function to be invoked when the task is run. | |
An executable task.
Tasks are used to submit arbitrary functions to an executor. Additional data can be associated with a task by embedding it in a struct and using structof() from the task fuction to obtain a pointer to the struct.