ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.pm
(Generate patch)

Comparing EV/EV.pm (file contents):
Revision 1.35 by root, Sat Nov 10 05:31:48 2007 UTC vs.
Revision 1.37 by root, Mon Nov 12 07:58:52 2007 UTC

57package EV; 57package EV;
58 58
59use strict; 59use strict;
60 60
61BEGIN { 61BEGIN {
62 our $VERSION = '0.7'; 62 our $VERSION = '0.8';
63 use XSLoader; 63 use XSLoader;
64 XSLoader::load "EV", $VERSION; 64 XSLoader::load "EV", $VERSION;
65} 65}
66 66
67@EV::Io::ISA = 67@EV::Io::ISA =
336possible time where C<$time = $at (mod $interval)>, regardless of any time 336possible time where C<$time = $at (mod $interval)>, regardless of any time
337jumps. 337jumps.
338 338
339=item * manual reschedule mode ($reschedule_cb = coderef) 339=item * manual reschedule mode ($reschedule_cb = coderef)
340 340
341In this mode $interval and $at are both being ignored. Instead, each time 341In this mode $interval and $at are both being ignored. Instead, each
342the periodic watcher gets scheduled, the first callback ($reschedule_cb) 342time the periodic watcher gets scheduled, the reschedule callback
343will be called with the watcher as first, and the current time as second 343($reschedule_cb) will be called with the watcher as first, and the current
344argument. 344time as second argument.
345 345
346I<This callback MUST NOT stop or destroy this or any other periodic 346I<This callback MUST NOT stop or destroy this or any other periodic
347watcher, ever>. If you need to stop it, return 1e30 and stop it 347watcher, ever>. If you need to stop it, return 1e30 and stop it
348afterwards. 348afterwards.
349 349

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines