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, diff); /* difference realtime - monotonic time */
9 VARx(int, have_monotonic); /* runtime */
11 VARx(ev_tstamp, method_fudge); /* assumed typical timer resolution */
12 VAR (method_modify, void (*method_modify)(EV_P_ int fd, int oev, int nev));
13 VAR (method_poll , void (*method_poll)(EV_P_ ev_tstamp timeout));
15 VARx(int, activecnt); /* number of active events */
18 VARx(unsigned char *, vec_ri);
19 VARx(unsigned char *, vec_ro);
20 VARx(unsigned char *, vec_wi);
21 VARx(unsigned char *, vec_wo);
26 VARx(struct pollfd *, polls);
29 VARx(int *, pollidxs); /* maps fds into structure indices */
30 VARx(int, pollidxmax);
36 VARx(struct epoll_event *, events);
42 VARx(struct kevent *, kqueue_changes);
43 VARx(int, kqueue_changemax);
44 VARx(int, kqueue_changecnt);
45 VARx(struct kevent *, kqueue_events);
46 VARx(int, kqueue_eventmax);
52 VAR (pendings, ANPENDING *pendings [NUMPRI]);
53 VAR (pendingmax, int pendingmax [NUMPRI]);
54 VAR (pendingcnt, int pendingcnt [NUMPRI]);
56 VARx(int *, fdchanges);
57 VARx(int, fdchangemax);
58 VARx(int, fdchangecnt);
60 VARx(struct ev_timer **, timers);
64 VARx(struct ev_periodic **, periodics);
65 VARx(int, periodicmax);
66 VARx(int, periodiccnt);
68 VARx(struct ev_idle **, idles);
72 VARx(struct ev_prepare **, prepares);
73 VARx(int, preparemax);
74 VARx(int, preparecnt);
76 VARx(struct ev_check **, checks);
80 VAR (childs, struct ev_child *childs [PID_HASHSIZE]);
81 VARx(struct ev_signal, childev);
83 VARx(struct ev_io, sigev);