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

Comparing libev/ev.c (file contents):
Revision 1.286 by root, Wed Apr 15 19:37:15 2009 UTC vs.
Revision 1.287 by root, Mon Apr 20 19:45:58 2009 UTC

2034 if (expect_true (!(flags & EVLOOP_NONBLOCK || idleall || !activecnt))) 2034 if (expect_true (!(flags & EVLOOP_NONBLOCK || idleall || !activecnt)))
2035 { 2035 {
2036 /* update time to cancel out callback processing overhead */ 2036 /* update time to cancel out callback processing overhead */
2037 time_update (EV_A_ 1e100); 2037 time_update (EV_A_ 1e100);
2038 2038
2039 waittime = MAX_BLOCKTIME;
2040
2039 if (timercnt) 2041 if (timercnt)
2040 { 2042 {
2041 ev_tstamp to = ANHE_at (timers [HEAP0]) - mn_now + backend_fudge; 2043 ev_tstamp to = ANHE_at (timers [HEAP0]) - mn_now + backend_fudge;
2042 if (waittime > to) waittime = to; 2044 if (waittime > to) waittime = to;
2043 } 2045 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines