ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.18 by root, Mon Nov 12 09:01:12 2007 UTC vs.
Revision 1.19 by root, Mon Nov 12 09:02:16 2007 UTC

582(that is, the lowest time value larger than to the second argument). It 582(that is, the lowest time value larger than to the second argument). It
583will usually be called just before the callback will be triggered, but 583will usually be called just before the callback will be triggered, but
584might be called at other times, too. 584might be called at other times, too.
585 585
586NOTE: I<< This callback must always return a time that is later than the 586NOTE: I<< This callback must always return a time that is later than the
587passed C<now> value >>. Not even C<now> itself will do, it must be larger. 587passed C<now> value >>. Not even C<now> itself will do, it I<must> be larger.
588 588
589This can be used to create very complex timers, such as a timer that 589This can be used to create very complex timers, such as a timer that
590triggers on each midnight, local time. To do this, you would calculate the 590triggers on each midnight, local time. To do this, you would calculate the
591next midnight after C<now> and return the timestamp value for this. How you do this 591next midnight after C<now> and return the timestamp value for this. How
592is, again, up to you (but it is not trivial). 592you do this is, again, up to you (but it is not trivial, which is the main
593reason I omitted it as an example).
593 594
594=back 595=back
595 596
596=item ev_periodic_again (loop, ev_periodic *) 597=item ev_periodic_again (loop, ev_periodic *)
597 598

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines