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

Comparing libev/ev.pod (file contents):
Revision 1.382 by sf-exg, Mon Aug 15 10:18:07 2011 UTC vs.
Revision 1.383 by root, Sat Oct 15 02:19:19 2011 UTC

1991delay has actually elapsed, or in other words, it always errs on the "too 1991delay has actually elapsed, or in other words, it always errs on the "too
1992late" side of things. 1992late" side of things.
1993 1993
1994=head3 The special problem of time updates 1994=head3 The special problem of time updates
1995 1995
1996Establishing the current time is a costly operation (it usually takes at 1996Establishing the current time is a costly operation (it usually takes
1997least two system calls): EV therefore updates its idea of the current 1997at least one system call): EV therefore updates its idea of the current
1998time only before and after C<ev_run> collects new events, which causes a 1998time only before and after C<ev_run> collects new events, which causes a
1999growing difference between C<ev_now ()> and C<ev_time ()> when handling 1999growing difference between C<ev_now ()> and C<ev_time ()> when handling
2000lots of events in one iteration. 2000lots of events in one iteration.
2001 2001
2002The relative timeouts are calculated relative to the C<ev_now ()> 2002The relative timeouts are calculated relative to the C<ev_now ()>
2009 2009
2010If the event loop is suspended for a long time, you can also force an 2010If the event loop is suspended for a long time, you can also force an
2011update of the time returned by C<ev_now ()> by calling C<ev_now_update 2011update of the time returned by C<ev_now ()> by calling C<ev_now_update
2012()>. 2012()>.
2013 2013
2014=head3 The special problem of unsychronised clocks 2014=head3 The special problem of unsynchronised clocks
2015 2015
2016Modern systems have a variety of clocks - libev itself uses the normal 2016Modern systems have a variety of clocks - libev itself uses the normal
2017"wall clock" clock and, if available, the monotonic clock (to avoid time 2017"wall clock" clock and, if available, the monotonic clock (to avoid time
2018jumps). 2018jumps).
2019 2019

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines