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 */
8 VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
9 VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev))
10 VAR (backend_poll , void (*backend_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
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
33 VARx(struct epoll_event *, epoll_events)
34 VARx(int, epoll_eventmax)
37 #if EV_USE_KQUEUE || EV_GENWRAP
38 VARx(struct kevent *, kqueue_changes)
39 VARx(int, kqueue_changemax)
40 VARx(int, kqueue_changecnt)
41 VARx(struct kevent *, kqueue_events)
42 VARx(int, kqueue_eventmax)
45 #if EV_USE_PORT || EV_GENWRAP
46 VARx(struct port_event *, port_events)
47 VARx(int, port_eventmax)
53 VAR (pendings, ANPENDING *pendings [NUMPRI])
54 VAR (pendingmax, int pendingmax [NUMPRI])
55 VAR (pendingcnt, int pendingcnt [NUMPRI])
57 VARx(int *, fdchanges)
58 VARx(int, fdchangemax)
59 VARx(int, fdchangecnt)
61 VARx(struct ev_timer **, timers)
65 #if EV_PERIODIC_ENABLE || EV_GENWRAP
66 VARx(struct ev_periodic **, periodics)
67 VARx(int, periodicmax)
68 VARx(int, periodiccnt)
71 VARx(struct ev_idle **, idles)
75 VARx(struct ev_prepare **, prepares)
79 VARx(struct ev_check **, checks)