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") */ |
|
|
12 | VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ |
8 | |
13 | |
|
|
14 | VARx(int, backend_fd) |
9 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
15 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
10 | 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)) |
11 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
17 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
12 | VARx(int, backend_fd) |
|
|
13 | |
18 | |
14 | #if !defined(_WIN32) || EV_GENWRAP |
19 | #if !defined(_WIN32) || EV_GENWRAP |
15 | VARx(pid_t, curpid) |
20 | VARx(pid_t, curpid) |
16 | #endif |
21 | #endif |
17 | |
22 | |
… | |
… | |
60 | |
65 | |
61 | VARx(int *, fdchanges) |
66 | VARx(int *, fdchanges) |
62 | VARx(int, fdchangemax) |
67 | VARx(int, fdchangemax) |
63 | VARx(int, fdchangecnt) |
68 | VARx(int, fdchangecnt) |
64 | |
69 | |
65 | VARx(struct ev_timer **, timers) |
70 | VARx(WT *, timers) |
66 | VARx(int, timermax) |
71 | VARx(int, timermax) |
67 | VARx(int, timercnt) |
72 | VARx(int, timercnt) |
68 | |
73 | |
69 | #if EV_PERIODIC_ENABLE || EV_GENWRAP |
74 | #if EV_PERIODIC_ENABLE || EV_GENWRAP |
70 | VARx(struct ev_periodic **, periodics) |
75 | VARx(WT *, periodics) |
71 | VARx(int, periodicmax) |
76 | VARx(int, periodicmax) |
72 | VARx(int, periodiccnt) |
77 | VARx(int, periodiccnt) |
73 | #endif |
78 | #endif |
74 | |
79 | |
75 | VARx(struct ev_idle **, idles) |
80 | #if EV_IDLE_ENABLE || EV_GENWRAP |
76 | VARx(int, idlemax) |
81 | VAR (idles, ev_idle **idles [NUMPRI]) |
77 | VARx(int, idlecnt) |
82 | VAR (idlemax, int idlemax [NUMPRI]) |
|
|
83 | VAR (idlecnt, int idlecnt [NUMPRI]) |
|
|
84 | #endif |
|
|
85 | VARx(int, idleall) /* total number */ |
78 | |
86 | |
79 | VARx(struct ev_prepare **, prepares) |
87 | VARx(struct ev_prepare **, prepares) |
80 | VARx(int, preparemax) |
88 | VARx(int, preparemax) |
81 | VARx(int, preparecnt) |
89 | VARx(int, preparecnt) |
82 | |
90 | |