iv_main(3)

iv_main3

Enter the ivykis main loop

Usage

#include <iv.h>

void iv_main(void);

Overview

iv_main enters the current thread's ivykis main loop.

The ivykis main loop consists of checking the status of the registered file descriptors, timers and tasks, and either calling callback functions corresponding to active objects, or blocking until an event arrives.

Each thread that wants to use ivykis must individually call iv_main to enter the ivykis main loop -- but only after having called iv_init(3) earlier.

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

From libivykis-dev 0.43.2-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.