1 | #define VARx(type,name) VAR(name, type name) |
1 | #define VARx(type,name) VAR(name, type name) |
2 | |
2 | |
3 | VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */ |
3 | VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */ |
4 | VARx(ev_tstamp, mn_now) /* monotonic clock "now" */ |
4 | VARx(ev_tstamp, mn_now) /* monotonic clock "now" */ |
5 | VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ |
5 | VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ |
|
|
6 | |
|
|
7 | VARx(ev_tstamp, io_blocktime); |
|
|
8 | VARx(ev_tstamp, timeout_blocktime); |
|
|
9 | |
6 | VARx(int, backend) |
10 | VARx(int, backend) |
7 | VARx(int, activecnt) /* total number of active events ("refcount") */ |
11 | VARx(int, activecnt) /* total number of active events ("refcount") */ |
8 | VARx(unsigned int, loop_count); /* total number of loop iterations/blocks */ |
12 | VARx(unsigned int, loop_count); /* total number of loop iterations/blocks */ |
9 | |
13 | |
|
|
14 | VARx(int, backend_fd) |
10 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
15 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
11 | VAR (backend_modify, void (*backend_modify)(EV_P_ int fd, int oev, int nev)) |
16 | 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)) |
17 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
13 | VARx(int, backend_fd) |
|
|
14 | |
18 | |
15 | #if !defined(_WIN32) || EV_GENWRAP |
19 | #if !defined(_WIN32) || EV_GENWRAP |
16 | VARx(pid_t, curpid) |
20 | VARx(pid_t, curpid) |
17 | #endif |
21 | #endif |
18 | |
22 | |
… | |
… | |
61 | |
65 | |
62 | VARx(int *, fdchanges) |
66 | VARx(int *, fdchanges) |
63 | VARx(int, fdchangemax) |
67 | VARx(int, fdchangemax) |
64 | VARx(int, fdchangecnt) |
68 | VARx(int, fdchangecnt) |
65 | |
69 | |
66 | VARx(struct ev_timer **, timers) |
70 | VARx(WT *, timers) |
67 | VARx(int, timermax) |
71 | VARx(int, timermax) |
68 | VARx(int, timercnt) |
72 | VARx(int, timercnt) |
69 | |
73 | |
70 | #if EV_PERIODIC_ENABLE || EV_GENWRAP |
74 | #if EV_PERIODIC_ENABLE || EV_GENWRAP |
71 | VARx(struct ev_periodic **, periodics) |
75 | VARx(WT *, periodics) |
72 | VARx(int, periodicmax) |
76 | VARx(int, periodicmax) |
73 | VARx(int, periodiccnt) |
77 | VARx(int, periodiccnt) |
74 | #endif |
78 | #endif |
75 | |
79 | |
76 | #if EV_IDLE_ENABLE || EV_GENWRAP |
80 | #if EV_IDLE_ENABLE || EV_GENWRAP |