diff options
-rw-r--r-- | ev.c | 2 | ||||
-rw-r--r-- | ev.h | 2 | ||||
-rw-r--r-- | ev.html | 12 | ||||
-rw-r--r-- | ev.pod | 2 | ||||
-rw-r--r-- | event.c | 2 |
5 files changed, 11 insertions, 9 deletions
@@ -772,7 +772,7 @@ loop_init (EV_P_ unsigned int flags) now_floor = mn_now; rtmn_diff = ev_rt_now - mn_now; - if (!(flags & EVMETHOD_NOENV) && !enable_secure () && getenv ("LIBEV_FLAGS")) + if (!(flags & EVFLAG_NOENV) && !enable_secure () && getenv ("LIBEV_FLAGS")) flags = atoi (getenv ("LIBEV_FLAGS")); if (!(flags & 0x0000ffff)) @@ -203,7 +203,7 @@ struct ev_check EV_WATCHER (ev_check) }; -/* invoked when sigchld is received and waitpid indicates the givne pid */ +/* invoked when sigchld is received and waitpid indicates the given pid */ /* revent EV_CHILD */ /* does not support priorities */ struct ev_child @@ -6,7 +6,7 @@ <meta name="description" content="Pod documentation for libev" /> <meta name="inputfile" content="<standard input>" /> <meta name="outputfile" content="<standard output>" /> - <meta name="created" content="Mon Nov 12 08:58:02 2007" /> + <meta name="created" content="Mon Nov 12 09:03:30 2007" /> <meta name="generator" content="Pod::Xhtml 1.57" /> <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> <body> @@ -28,7 +28,7 @@ <li><a href="#WATCHER_TYPES">WATCHER TYPES</a> <ul><li><a href="#struct_ev_io_is_my_file_descriptor_r">struct ev_io - is my file descriptor readable or writable</a></li> <li><a href="#struct_ev_timer_relative_and_optiona">struct ev_timer - relative and optionally recurring timeouts</a></li> -<li><a href="#ev_periodic">ev_periodic</a></li> +<li><a href="#ev_periodic_to_cron_or_not_to_cron_i">ev_periodic - to cron or not to cron it</a></li> <li><a href="#ev_signal_signal_me_when_a_signal_ge">ev_signal - signal me when a signal gets signalled</a></li> <li><a href="#ev_child_wait_for_pid_status_changes">ev_child - wait for pid status changes</a></li> <li><a href="#ev_idle_when_you_ve_got_nothing_bett">ev_idle - when you've got nothing better to do</a></li> @@ -89,7 +89,9 @@ will not have this argument.</p> </div> <h1 id="TIME_AND_OTHER_GLOBAL_FUNCTIONS">TIME AND OTHER GLOBAL FUNCTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p> <div id="TIME_AND_OTHER_GLOBAL_FUNCTIONS_CONT"> -<p>Libev represents time as a single floating point number. This type is +<p>Libev represents time as a single floating point number, representing the +(fractional) number of seconds since the (POSIX) epoch (somewhere near +the beginning of 1970, details are complicated, don't ask). This type is called <code>ev_tstamp</code>, which is what you should use too. It usually aliases to the double type in C.</p> <dl> @@ -480,8 +482,8 @@ the timer, and again will automatically restart it if need be.</p> </dl> </div> -<h2 id="ev_periodic">ev_periodic</h2> -<div id="ev_periodic_CONTENT"> +<h2 id="ev_periodic_to_cron_or_not_to_cron_i">ev_periodic - to cron or not to cron it</h2> +<div id="ev_periodic_to_cron_or_not_to_cron_i-2"> <p>Periodic watchers are also timers of a kind, but they are very versatile (and unfortunately a bit complex).</p> <p>Unlike ev_timer's, they are not based on real time (or relative time) @@ -469,7 +469,7 @@ the timer, and again will automatically restart it if need be. =back -=head2 ev_periodic +=head2 ev_periodic - to cron or not to cron it Periodic watchers are also timers of a kind, but they are very versatile (and unfortunately a bit complex). @@ -108,7 +108,7 @@ void event_base_free (struct event_base *base) dLOOPbase; #if EV_MULTIPLICITY - if (ev_default_loop (EVMETHOD_AUTO) != loop) + if (ev_default_loop (EVFLAG_AUTO) != loop) ev_loop_destroy (loop); #endif } |