27 #ifndef LELY_EV_STD_EXEC_H_ 28 #define LELY_EV_STD_EXEC_H_ 38 ev_std_exec_impl_t *impl;
46 void (*on_task_init)(ev_std_exec_impl_t *impl);
47 void (*on_task_fini)(ev_std_exec_impl_t *impl);
48 void (*post)(ev_std_exec_impl_t *impl,
struct ev_task *task);
49 size_t (*abort)(ev_std_exec_impl_t *impl,
struct ev_task *task);
52 void *ev_std_exec_alloc(
void);
53 void ev_std_exec_free(
void *ptr);
57 ev_exec_t *ev_std_exec_create(ev_std_exec_impl_t *impl);
58 void ev_std_exec_destroy(
ev_exec_t *exec);
64 #endif // !LELY_EV_STD_EXEC_H_ const struct ev_exec_vtbl *const ev_exec_t
An abstract task executor.
ev_exec_t * exec
A pointer to the executor to which the task is (to be) submitted.
This is the public header file of the event library.
This header file is part of the C11 and POSIX compatibility library; it includes <stddef.h> and defines any missing functionality.