1iv_main(3) ivykis programmer's manual iv_main(3)
2
3
4
6 iv_main - enter the ivykis main loop
7
9 #include <iv.h>
10
11 void iv_main(void);
12
14 iv_main enters the current thread's ivykis main loop.
15
16 The ivykis main loop consists of checking the status of the registered
17 file descriptors, timers and tasks, and either calling callback func‐
18 tions corresponding to active objects, or blocking until an event
19 arrives.
20
21 Each thread that wants to use ivykis must individually call iv_main to
22 enter the ivykis main loop -- but only after having called iv_init(3)
23 earlier.
24
26 ivykis(3), iv_examples(3), iv_quit(3)
27
28
29
30ivykis 2010-08-15 iv_main(3)