X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/87a584a79fd6470bf0be2bf79c52fab041f5bfa8..c585a019b5590e9c5b01a77fc81088d551c99da9:/ev.pod diff --git a/ev.pod b/ev.pod index 5d79c5d..b7bae06 100644 --- a/ev.pod +++ b/ev.pod @@ -406,7 +406,7 @@ have been omitted.... This section describes each watcher in detail, but will not repeat information given in the last section. -=head2 C - is my file descriptor readable or writable +=head2 C - is this file descriptor readable or writable I/O watchers check whether a file descriptor is readable or writable in each iteration of the event loop (This behaviour is called @@ -546,7 +546,7 @@ time: This doesn't mean there will always be 3600 seconds in between triggers, but only that the the callback will be called when the system time shows a -full hour (UTC), or more correct, when the system time is evenly divisible +full hour (UTC), or more correctly, when the system time is evenly divisible by 3600. Another way to think about it (for the mathematically inclined) is that @@ -561,10 +561,13 @@ reschedule callback will be called with the watcher as first, and the current time as second argument. NOTE: I. If you need -to stop it, return 1e30 (or so, fudge fudge) and stop it afterwards. +periodic watcher, ever, or make any event loop modifications>. If you need +to stop it, return C (or so, fudge fudge) and stop it afterwards. -Its prototype is c value >>. Not even C itself will be ok. + +Its prototype is C, e.g.: static ev_tstamp my_rescheduler (struct ev_periodic *w, ev_tstamp now)