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))
12 VARx(int, postfork) /* true if we need to recreate kernel state after fork */
13 VARx(int, activecnt) /* number of active events */
15 #if EV_USE_SELECT || EV_GENWRAP
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)
47 #if EV_USE_PORT || EV_GENWRAP
49 VARx(struct port_event *, port_events)
50 VARx(int, port_eventmax)
56 VAR (pendings, ANPENDING *pendings [NUMPRI])
57 VAR (pendingmax, int pendingmax [NUMPRI])
58 VAR (pendingcnt, int pendingcnt [NUMPRI])
60 VARx(int *, fdchanges)
61 VARx(int, fdchangemax)
62 VARx(int, fdchangecnt)
64 VARx(struct ev_timer **, timers)
68 #if EV_PERIODICS || EV_GENWRAP
69 VARx(struct ev_periodic **, periodics)
70 VARx(int, periodicmax)
71 VARx(int, periodiccnt)
74 VARx(struct ev_idle **, idles)
78 VARx(struct ev_prepare **, prepares)
82 VARx(struct ev_check **, checks)