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, activecnt) /* number of active events */
15 #if EV_USE_SELECT || EV_GENWRAP
16 VARx(unsigned char *, vec_ri)
17 VARx(unsigned char *, vec_ro)
18 VARx(unsigned char *, vec_wi)
19 VARx(unsigned char *, vec_wo)
23 #if EV_USE_POLL || EV_GENWRAP
24 VARx(struct pollfd *, polls)
27 VARx(int *, pollidxs) /* maps fds into structure indices */
31 #if EV_USE_EPOLL || EV_GENWRAP
34 VARx(struct epoll_event *, epoll_events)
35 VARx(int, epoll_eventmax)
38 #if EV_USE_KQUEUE || EV_GENWRAP
40 VARx(struct kevent *, kqueue_changes)
41 VARx(int, kqueue_changemax)
42 VARx(int, kqueue_changecnt)
43 VARx(struct kevent *, kqueue_events)
44 VARx(int, kqueue_eventmax)
50 VAR (pendings, ANPENDING *pendings [NUMPRI])
51 VAR (pendingmax, int pendingmax [NUMPRI])
52 VAR (pendingcnt, int pendingcnt [NUMPRI])
54 VARx(int *, fdchanges)
55 VARx(int, fdchangemax)
56 VARx(int, fdchangecnt)
58 VARx(struct ev_timer **, timers)
62 VARx(struct ev_periodic **, periodics)
63 VARx(int, periodicmax)
64 VARx(int, periodiccnt)
66 VARx(struct ev_idle **, idles)
70 VARx(struct ev_prepare **, prepares)
74 VARx(struct ev_check **, checks)
78 VAR (childs, struct ev_child *childs [PID_HASHSIZE])
79 VARx(struct ev_signal, childev)
81 VARx(struct ev_io, sigev)