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

Comparing libev/ev.c (file contents):
Revision 1.322 by root, Thu Jan 7 06:49:31 2010 UTC vs.
Revision 1.324 by root, Sat Jan 23 20:15:57 2010 UTC

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 */
2163inline_speed void 2163inline_speed void
2164time_update (EV_P_ ev_tstamp max_block) 2164time_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))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines