1 #define VARx(type,name) VAR(name, type name)
3 VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */
4 VARx(ev_tstamp, mn_now) /* monotonic clock "now" */
5 VARx(ev_tstamp, rt_now)
6 VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */
9 VARx(ev_tstamp, method_fudge) /* assumed typical timer resolution */
10 VAR (method_modify, void (*method_modify)(EV_P_ int fd, int oev, int nev))
11 VAR (method_poll , void (*method_poll)(EV_P_ ev_tstamp timeout))
13 VARx(int, postfork) /* true if we need to recreate kernel state after fork */
14 VARx(int, activecnt) /* number of active events */
16 #if EV_USE_SELECT || EV_GENWRAP
17 VARx(unsigned char *, vec_ri)
18 VARx(unsigned char *, vec_ro)
19 VARx(unsigned char *, vec_wi)
20 VARx(unsigned char *, vec_wo)
24 #if EV_USE_POLL || EV_GENWRAP
25 VARx(struct pollfd *, polls)
28 VARx(int *, pollidxs) /* maps fds into structure indices */
32 #if EV_USE_EPOLL || EV_GENWRAP
35 VARx(struct epoll_event *, epoll_events)
36 VARx(int, epoll_eventmax)
39 #if EV_USE_KQUEUE || EV_GENWRAP
41 VARx(struct kevent *, kqueue_changes)
42 VARx(int, kqueue_changemax)
43 VARx(int, kqueue_changecnt)
44 VARx(struct kevent *, kqueue_events)
45 VARx(int, kqueue_eventmax)
51 VAR (pendings, ANPENDING *pendings [NUMPRI])
52 VAR (pendingmax, int pendingmax [NUMPRI])
53 VAR (pendingcnt, int pendingcnt [NUMPRI])
55 VARx(int *, fdchanges)
56 VARx(int, fdchangemax)
57 VARx(int, fdchangecnt)
59 VARx(struct ev_timer **, timers)
63 VARx(struct ev_periodic **, periodics)
64 VARx(int, periodicmax)
65 VARx(int, periodiccnt)
67 VARx(struct ev_idle **, idles)
71 VARx(struct ev_prepare **, prepares)
75 VARx(struct ev_check **, checks)