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, rtmn_diff) /* difference realtime - monotonic time */
7 VARx(int, activecnt) /* total number of active events ("refcount") */
8 VARx(unsigned int, loop_count); /* total number of loop iterations/blocks */
10 VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
11 VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
12 VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout))
15 #if !defined(_WIN32) || EV_GENWRAP
19 VARx(int, postfork) /* true if we need to recreate kernel state after fork */
21 #if EV_USE_SELECT || EV_GENWRAP
29 #if EV_USE_POLL || EV_GENWRAP
30 VARx(struct pollfd *, polls)
33 VARx(int *, pollidxs) /* maps fds into structure indices */
37 #if EV_USE_EPOLL || EV_GENWRAP
38 VARx(struct epoll_event *, epoll_events)
39 VARx(int, epoll_eventmax)
42 #if EV_USE_KQUEUE || EV_GENWRAP
43 VARx(struct kevent *, kqueue_changes)
44 VARx(int, kqueue_changemax)
45 VARx(int, kqueue_changecnt)
46 VARx(struct kevent *, kqueue_events)
47 VARx(int, kqueue_eventmax)
50 #if EV_USE_PORT || EV_GENWRAP
51 VARx(struct port_event *, port_events)
52 VARx(int, port_eventmax)
58 VAR (pendings, ANPENDING *pendings [NUMPRI])
59 VAR (pendingmax, int pendingmax [NUMPRI])
60 VAR (pendingcnt, int pendingcnt [NUMPRI])
62 VARx(int *, fdchanges)
63 VARx(int, fdchangemax)
64 VARx(int, fdchangecnt)
66 VARx(struct ev_timer **, timers)
70 #if EV_PERIODIC_ENABLE || EV_GENWRAP
71 VARx(struct ev_periodic **, periodics)
72 VARx(int, periodicmax)
73 VARx(int, periodiccnt)
76 VARx(struct ev_idle **, idles)
80 VARx(struct ev_prepare **, prepares)
84 VARx(struct ev_check **, checks)
88 #if EV_FORK_ENABLE || EV_GENWRAP
89 VARx(struct ev_fork **, forks)
94 #if EV_USE_INOTIFY || EV_GENWRAP
97 VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])