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

Comparing libev/ev.pod (file contents):
Revision 1.176 by root, Mon Sep 8 17:24:39 2008 UTC vs.
Revision 1.177 by root, Mon Sep 8 17:27:42 2008 UTC

1229you suspect event processing to be delayed and you I<need> to base the 1229you suspect event processing to be delayed and you I<need> to base the
1230timeout on the current time, use something like this to adjust for this: 1230timeout on the current time, use something like this to adjust for this:
1231 1231
1232 ev_timer_set (&timer, after + ev_now () - ev_time (), 0.); 1232 ev_timer_set (&timer, after + ev_now () - ev_time (), 0.);
1233 1233
1234If the event loop is suspended for a long time, one can also force an 1234If the event loop is suspended for a long time, you can also force an
1235update of the time returned by C<ev_now ()> by calling C<ev_now_update 1235update of the time returned by C<ev_now ()> by calling C<ev_now_update
1236()>. 1236()>.
1237 1237
1238=head3 Watcher-Specific Functions and Data Members 1238=head3 Watcher-Specific Functions and Data Members
1239 1239

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines