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, rt_now) |
|
|
6 | VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ |
5 | VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ |
7 | VARx(int, method) |
6 | VARx(int, method) |
8 | |
7 | |
9 | VARx(ev_tstamp, method_fudge) /* assumed typical timer resolution */ |
8 | VARx(ev_tstamp, method_fudge) /* assumed typical timer resolution */ |
10 | VAR (method_modify, void (*method_modify)(EV_P_ int fd, int oev, int nev)) |
9 | VAR (method_modify, void (*method_modify)(EV_P_ int fd, int oev, int nev)) |
11 | VAR (method_poll , void (*method_poll)(EV_P_ ev_tstamp timeout)) |
10 | VAR (method_poll , void (*method_poll)(EV_P_ ev_tstamp timeout)) |
12 | |
11 | |
|
|
12 | VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
13 | VARx(int, activecnt) /* number of active events */ |
13 | VARx(int, activecnt) /* number of active events */ |
14 | |
14 | |
15 | #if EV_USE_SELECT || EV_GENWRAP |
15 | #if EV_USE_SELECT || EV_GENWRAP |
16 | VARx(unsigned char *, vec_ri) |
16 | VARx(unsigned char *, vec_ri) |
17 | VARx(unsigned char *, vec_ro) |
17 | VARx(unsigned char *, vec_ro) |
… | |
… | |
57 | |
57 | |
58 | VARx(struct ev_timer **, timers) |
58 | VARx(struct ev_timer **, timers) |
59 | VARx(int, timermax) |
59 | VARx(int, timermax) |
60 | VARx(int, timercnt) |
60 | VARx(int, timercnt) |
61 | |
61 | |
|
|
62 | #if EV_PERIODICS || EV_GENWRAP |
62 | VARx(struct ev_periodic **, periodics) |
63 | VARx(struct ev_periodic **, periodics) |
63 | VARx(int, periodicmax) |
64 | VARx(int, periodicmax) |
64 | VARx(int, periodiccnt) |
65 | VARx(int, periodiccnt) |
|
|
66 | #endif |
65 | |
67 | |
66 | VARx(struct ev_idle **, idles) |
68 | VARx(struct ev_idle **, idles) |
67 | VARx(int, idlemax) |
69 | VARx(int, idlemax) |
68 | VARx(int, idlecnt) |
70 | VARx(int, idlecnt) |
69 | |
71 | |