… | |
… | |
110 | # define EV_USE_EPOLL 0 |
110 | # define EV_USE_EPOLL 0 |
111 | # endif |
111 | # endif |
112 | # endif |
112 | # endif |
113 | |
113 | |
114 | # ifndef EV_USE_KQUEUE |
114 | # ifndef EV_USE_KQUEUE |
115 | # if HAVE_KQUEUE && HAVE_SYS_EVENT_H && HAVE_SYS_QUEUE_H |
115 | # if HAVE_KQUEUE && HAVE_SYS_EVENT_H |
116 | # define EV_USE_KQUEUE 1 |
116 | # define EV_USE_KQUEUE 1 |
117 | # else |
117 | # else |
118 | # define EV_USE_KQUEUE 0 |
118 | # define EV_USE_KQUEUE 0 |
119 | # endif |
119 | # endif |
120 | # endif |
120 | # endif |
… | |
… | |
2157 | ANHE_at_cache (*he); |
2157 | ANHE_at_cache (*he); |
2158 | } |
2158 | } |
2159 | } |
2159 | } |
2160 | |
2160 | |
2161 | /* fetch new monotonic and realtime times from the kernel */ |
2161 | /* fetch new monotonic and realtime times from the kernel */ |
2162 | /* also detetc if there was a timejump, and act accordingly */ |
2162 | /* also detect if there was a timejump, and act accordingly */ |
2163 | inline_speed void |
2163 | inline_speed void |
2164 | time_update (EV_P_ ev_tstamp max_block) |
2164 | time_update (EV_P_ ev_tstamp max_block) |
2165 | { |
2165 | { |
2166 | #if EV_USE_MONOTONIC |
2166 | #if EV_USE_MONOTONIC |
2167 | if (expect_true (have_monotonic)) |
2167 | if (expect_true (have_monotonic)) |