… | |
… | |
4 | <head> |
4 | <head> |
5 | <title>libev</title> |
5 | <title>libev</title> |
6 | <meta name="description" content="Pod documentation for libev" /> |
6 | <meta name="description" content="Pod documentation for libev" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
9 | <meta name="created" content="Wed Dec 12 18:55:04 2007" /> |
9 | <meta name="created" content="Wed Dec 12 18:55:28 2007" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
12 | <body> |
12 | <body> |
13 | <div class="pod"> |
13 | <div class="pod"> |
14 | <!-- INDEX START --> |
14 | <!-- INDEX START --> |
… | |
… | |
64 | </li> |
64 | </li> |
65 | <li><a href="#code_ev_embed_code_when_one_backend_"><code>ev_embed</code> - when one backend isn't enough...</a> |
65 | <li><a href="#code_ev_embed_code_when_one_backend_"><code>ev_embed</code> - when one backend isn't enough...</a> |
66 | <ul><li><a href="#Watcher_Specific_Functions_and_Data_-9">Watcher-Specific Functions and Data Members</a></li> |
66 | <ul><li><a href="#Watcher_Specific_Functions_and_Data_-9">Watcher-Specific Functions and Data Members</a></li> |
67 | </ul> |
67 | </ul> |
68 | </li> |
68 | </li> |
69 | <li><a href="#code_ev_fork_code_the_audacity_to_re"><code>ev_fork</code> - the audacity to resume the event loop after a fork</a></li> |
69 | <li><a href="#code_ev_fork_code_the_audacity_to_re"><code>ev_fork</code> - the audacity to resume the event loop after a fork</a> |
|
|
70 | <ul><li><a href="#Watcher_Specific_Functions_and_Data_-10">Watcher-Specific Functions and Data Members</a></li> |
|
|
71 | </ul> |
|
|
72 | </li> |
70 | </ul> |
73 | </ul> |
71 | </li> |
74 | </li> |
72 | <li><a href="#OTHER_FUNCTIONS">OTHER FUNCTIONS</a></li> |
75 | <li><a href="#OTHER_FUNCTIONS">OTHER FUNCTIONS</a></li> |
73 | <li><a href="#LIBEVENT_EMULATION">LIBEVENT EMULATION</a></li> |
76 | <li><a href="#LIBEVENT_EMULATION">LIBEVENT EMULATION</a></li> |
74 | <li><a href="#C_SUPPORT">C++ SUPPORT</a></li> |
77 | <li><a href="#C_SUPPORT">C++ SUPPORT</a></li> |
… | |
… | |
1830 | <code>ev_default_fork</code> or <code>ev_loop_fork</code>). The invocation is done before the |
1833 | <code>ev_default_fork</code> or <code>ev_loop_fork</code>). The invocation is done before the |
1831 | event loop blocks next and before <code>ev_check</code> watchers are being called, |
1834 | event loop blocks next and before <code>ev_check</code> watchers are being called, |
1832 | and only in the child after the fork. If whoever good citizen calling |
1835 | and only in the child after the fork. If whoever good citizen calling |
1833 | <code>ev_default_fork</code> cheats and calls it in the wrong process, the fork |
1836 | <code>ev_default_fork</code> cheats and calls it in the wrong process, the fork |
1834 | handlers will be invoked, too, of course.</p> |
1837 | handlers will be invoked, too, of course.</p> |
|
|
1838 | |
|
|
1839 | </div> |
|
|
1840 | <h3 id="Watcher_Specific_Functions_and_Data_-10">Watcher-Specific Functions and Data Members</h3> |
|
|
1841 | <div id="Watcher_Specific_Functions_and_Data_-2-8"> |
1835 | <dl> |
1842 | <dl> |
1836 | <dt>ev_fork_init (ev_signal *, callback)</dt> |
1843 | <dt>ev_fork_init (ev_signal *, callback)</dt> |
1837 | <dd> |
1844 | <dd> |
1838 | <p>Initialises and configures the fork watcher - it has no parameters of any |
1845 | <p>Initialises and configures the fork watcher - it has no parameters of any |
1839 | kind. There is a <code>ev_fork_set</code> macro, but using it is utterly pointless, |
1846 | kind. There is a <code>ev_fork_set</code> macro, but using it is utterly pointless, |