1
.\" This man page is Copyright (C) 2003, 2010 Lennert Buytenhek.
2
.\" Permission is granted to distribute possibly modified copies
3
.\" of this page provided the header is included verbatim,
4
.\" and in case of nontrivial modification author and date
5
.\" of the modification is added to the header.
6
.TH iv_main 3 2010-08-15 "ivykis" "ivykis programmer's manual"
8
iv_main \- enter the ivykis main loop
12
.BI "void iv_main(void);"
16
enters the current thread's ivykis main loop.
18
The ivykis main loop consists of checking the status of the registered
19
file descriptors, timers and tasks, and either calling callback functions
20
corresponding to active objects, or blocking until an event arrives.
22
Each thread that wants to use ivykis must individually call
24
to enter the ivykis main loop -- but only after having called