1iv_init(3)                ivykis programmer's manual                iv_init(3)
2
3
4

NAME

6       iv_init, iv_deinit, iv_inited - initialise and deinitialise ivykis
7

SYNOPSIS

9       #include <iv.h>
10
11       void iv_init(void);
12       void iv_deinit(void);
13       int iv_inited(void);
14

DESCRIPTION

16       iv_init initialises the current thread's ivykis event loop.
17
18       Each thread that wants to use ivykis must call iv_init before any other
19       ivykis functions are called.
20
21       The very first call to iv_init in a  process  must  run  to  completion
22       before  other threads are allowed to call iv_init, but subsequent calls
23       to iv_init can be done concurrently.
24
25       iv_deinit frees all resources allocated by ivykis in this  thread,  and
26       should be called before this thread exits.
27
28       iv_inited  returns  true  if  iv_init  has  been called in this thread.
29       After iv_deinit is called, it will return false.
30

SEE ALSO

32       ivykis(3), iv_examples(3)
33
34
35
36ivykis                            2010-09-05                        iv_init(3)
Impressum