… | |
… | |
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="Mon Nov 12 09:02:48 2007" /> |
9 | <meta name="created" content="Mon Nov 12 09:03:30 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 --> |
… | |
… | |
26 | </ul> |
26 | </ul> |
27 | </li> |
27 | </li> |
28 | <li><a href="#WATCHER_TYPES">WATCHER TYPES</a> |
28 | <li><a href="#WATCHER_TYPES">WATCHER TYPES</a> |
29 | <ul><li><a href="#struct_ev_io_is_my_file_descriptor_r">struct ev_io - is my file descriptor readable or writable</a></li> |
29 | <ul><li><a href="#struct_ev_io_is_my_file_descriptor_r">struct ev_io - is my file descriptor readable or writable</a></li> |
30 | <li><a href="#struct_ev_timer_relative_and_optiona">struct ev_timer - relative and optionally recurring timeouts</a></li> |
30 | <li><a href="#struct_ev_timer_relative_and_optiona">struct ev_timer - relative and optionally recurring timeouts</a></li> |
31 | <li><a href="#ev_periodic">ev_periodic</a></li> |
31 | <li><a href="#ev_periodic_to_cron_or_not_to_cron_i">ev_periodic - to cron or not to cron it</a></li> |
32 | <li><a href="#ev_signal_signal_me_when_a_signal_ge">ev_signal - signal me when a signal gets signalled</a></li> |
32 | <li><a href="#ev_signal_signal_me_when_a_signal_ge">ev_signal - signal me when a signal gets signalled</a></li> |
33 | <li><a href="#ev_child_wait_for_pid_status_changes">ev_child - wait for pid status changes</a></li> |
33 | <li><a href="#ev_child_wait_for_pid_status_changes">ev_child - wait for pid status changes</a></li> |
34 | <li><a href="#ev_idle_when_you_ve_got_nothing_bett">ev_idle - when you've got nothing better to do</a></li> |
34 | <li><a href="#ev_idle_when_you_ve_got_nothing_bett">ev_idle - when you've got nothing better to do</a></li> |
35 | <li><a href="#prepare_and_check_your_hooks_into_th">prepare and check - your hooks into the event loop</a></li> |
35 | <li><a href="#prepare_and_check_your_hooks_into_th">prepare and check - your hooks into the event loop</a></li> |
36 | </ul> |
36 | </ul> |
… | |
… | |
480 | the timer, and again will automatically restart it if need be.</p> |
480 | the timer, and again will automatically restart it if need be.</p> |
481 | </dd> |
481 | </dd> |
482 | </dl> |
482 | </dl> |
483 | |
483 | |
484 | </div> |
484 | </div> |
485 | <h2 id="ev_periodic">ev_periodic</h2> |
485 | <h2 id="ev_periodic_to_cron_or_not_to_cron_i">ev_periodic - to cron or not to cron it</h2> |
486 | <div id="ev_periodic_CONTENT"> |
486 | <div id="ev_periodic_to_cron_or_not_to_cron_i-2"> |
487 | <p>Periodic watchers are also timers of a kind, but they are very versatile |
487 | <p>Periodic watchers are also timers of a kind, but they are very versatile |
488 | (and unfortunately a bit complex).</p> |
488 | (and unfortunately a bit complex).</p> |
489 | <p>Unlike ev_timer's, they are not based on real time (or relative time) |
489 | <p>Unlike ev_timer's, they are not based on real time (or relative time) |
490 | but on wallclock time (absolute time). You can tell a periodic watcher |
490 | but on wallclock time (absolute time). You can tell a periodic watcher |
491 | to trigger "at" some specific point in time. For example, if you tell a |
491 | to trigger "at" some specific point in time. For example, if you tell a |