… | |
… | |
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 | } |