Lely core libraries
2.2.5
|
Go to the documentation of this file.
22 #ifndef LELY_IO2_INTERN_SIGSET_H_
23 #define LELY_IO2_INTERN_SIGSET_H_
36 static size_t io_sigset_wait_queue_post(
struct sllist *queue,
int signo);
49 io_sigset_wait_queue_post(
struct sllist *queue,
int signo)
57 io_sigset_wait_post(wait,
signo);
68 #endif // !LELY_IO2_INTERN_SIGSET_H_
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.
const struct ev_exec_vtbl *const ev_exec_t
An abstract task executor.
A wait operation suitable for use with a signal handler.
int signo
The signal number, or 0 if the wait operation was canceled.
void ev_exec_on_task_fini(ev_exec_t *exec)
Undoes the effect of a previous call to ev_exec_on_task_init().
struct slnode * sllist_pop_front(struct sllist *list)
Pops a node from the front of a singly-linked list.
struct io_sigset_wait * io_sigset_wait_from_task(struct ev_task *task)
Obtains a pointer to a signal wait operation from a pointer to its completion task.
void ev_exec_post(ev_exec_t *exec, struct ev_task *task)
Submits *task to *exec for execution.
A node in a singly-linked list.
struct ev_task task
The task (to be) submitted upon completion (or cancellation) of the wait operation.
ev_exec_t * exec
A pointer to the executor to which the task is (to be) submitted.