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

Comparing EV/EV.pm (file contents):
Revision 1.36 by root, Sun Nov 11 04:14:09 2007 UTC vs.
Revision 1.37 by root, Mon Nov 12 07:58:52 2007 UTC

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