22#ifndef LELY_IO2_INTERN_TIMER_H_
23#define LELY_IO2_INTERN_TIMER_H_
35static void io_timer_wait_post(
37static size_t io_timer_wait_queue_post(
38 struct sllist *queue,
int result,
int errc);
41io_timer_wait_post(
struct io_timer_wait *wait,
int result,
int errc)
52io_timer_wait_queue_post(
struct sllist *queue,
int result,
int errc)
60 io_timer_wait_post(wait, result, errc);
This header file is part of the event library; it contains the abstract task executor interface.
void ev_exec_post(ev_exec_t *exec, struct ev_task *task)
Submits *task to *exec for execution.
void ev_exec_on_task_fini(ev_exec_t *exec)
Undoes the effect of a previous call to ev_exec_on_task_init().
const struct ev_exec_vtbl *const ev_exec_t
An abstract task executor.
This header file is part of the I/O library; it contains the abstract timer interface.
struct io_timer_wait * io_timer_wait_from_task(struct ev_task *task)
Obtains a pointer to an I/O timer wait operation from a pointer to its completion task.
struct slnode * sllist_pop_front(struct sllist *list)
Pops a node from the front of a singly-linked list.
This is the internal header file of the I/O library.
This header file is part of the C11 and POSIX compatibility library; it includes <stdint....
ev_exec_t * exec
A pointer to the executor to which the task is (to be) submitted.
int errc
The error number, obtained as if by get_errc(), if result is -1.
int result
The result of the wait operation: the expiration overrun count (see io_timer_getoverrun()) on success...
A wait operation suitable for use with an I/O timer.
struct io_timer_wait_result r
The result of the wait operation.
struct ev_task task
The task (to be) submitted upon completion (or cancellation) of the wait operation.
A node in a singly-linked list.
struct ev_task * ev_task_from_node(struct slnode *node)
Converts a pointer to a node in a queue to the address of the task containing the node.