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

Comparing EV/EV.pm (file contents):
Revision 1.30 by root, Thu Nov 8 02:19:36 2007 UTC vs.
Revision 1.31 by root, Thu Nov 8 02:21:02 2007 UTC

346In this mode $interval and $at are both being ignored. Instead, each time 346In this mode $interval and $at are both being ignored. Instead, each time
347the periodic watcher gets scheduled, the first callback ($reschedule_cb) 347the periodic watcher gets scheduled, the first callback ($reschedule_cb)
348will be called with the watcher as first, and the current time as second 348will be called with the watcher as first, and the current time as second
349argument. 349argument.
350 350
351I<This callback MUST NOT stop or destroy the event watcher, ever.> 351I<This callback MUST NOT stop or destroy this or any other periodic
352watcher, ever>. If you need to stop it, return 1e30 and stop it
353afterwards.
352 354
353It must return the next time to trigger, based on the passed time value 355It must return the next time to trigger, based on the passed time value
354(that is, the lowest time value larger than to the second argument). It 356(that is, the lowest time value larger than to the second argument). It
355will usually be called just before the callback will be triggered, but 357will usually be called just before the callback will be triggered, but
356might be called at other times, too. 358might be called at other times, too.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines