17 #ifndef APT_POLLER_TASK_H
18 #define APT_POLLER_TASK_H
47 apr_size_t max_pollset_size,
apt_bool_t apt_poller_task_descriptor_remove(const apt_poller_task_t *task, const apr_pollfd_t *descriptor)
apt_bool_t apt_poller_task_destroy(apt_poller_task_t *task)
apt_bool_t apt_poller_task_descriptor_add(const apt_poller_task_t *task, const apr_pollfd_t *descriptor)
#define APT_END_EXTERN_C
Definition: apt.h:38
apt_timer_t * apt_poller_task_timer_create(apt_poller_task_t *task, apt_timer_proc_f proc, void *obj, apr_pool_t *pool)
apt_bool_t(* apt_poll_signal_f)(void *obj, const apr_pollfd_t *descriptor)
Definition: apt_poller_task.h:35
int apt_bool_t
Definition: apt.h:57
Interruptable APR-Pollset.
apt_bool_t apt_poller_task_terminate(apt_poller_task_t *task)
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
typedefAPT_BEGIN_EXTERN_C struct apt_poller_task_t apt_poller_task_t
Definition: apt_poller_task.h:32
#define APT_DECLARE(type)
Definition: apt.h:53
void apt_poller_task_cleanup(apt_poller_task_t *task)
apt_bool_t apt_poller_task_start(apt_poller_task_t *task)
void * apt_poller_task_object_get(const apt_poller_task_t *task)
typedefAPT_BEGIN_EXTERN_C struct apt_task_t apt_task_t
Definition: apt_task.h:31
Thread Execution Abstraction.
void(* apt_timer_proc_f)(apt_timer_t *timer, void *obj)
Definition: apt_timer_queue.h:35
apt_task_vtable_t * apt_poller_task_vtable_get(const apt_poller_task_t *task)
apt_task_t * apt_poller_task_base_get(const apt_poller_task_t *task)
apt_poller_task_t * apt_poller_task_create(apr_size_t max_pollset_size, apt_poll_signal_f signal_handler, void *obj, apt_task_msg_pool_t *msg_pool, apr_pool_t *pool)
Definition: apt_task.h:224
struct apt_task_msg_pool_t apt_task_msg_pool_t
Definition: apt_task_msg.h:50
typedefAPT_BEGIN_EXTERN_C struct apt_timer_t apt_timer_t
Definition: apt_timer_queue.h:30