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 | VARx(int, backend) |
6 | VARx(int, backend) |
7 | |
7 | |
8 | VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
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)) |
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)) |
10 | VAR (backend_poll , void (*backend_poll)(EV_P_ ev_tstamp timeout)) |
11 | VARx(int, backend_fd) |
11 | VARx(int, backend_fd) |
12 | |
12 | |
13 | VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
13 | VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
14 | VARx(int, activecnt) /* number of active events */ |
14 | VARx(int, activecnt) /* total number of active events ("refcount") */ |
15 | |
15 | |
16 | #if EV_USE_SELECT || EV_GENWRAP |
16 | #if EV_USE_SELECT || EV_GENWRAP |
17 | VARx(void *, vec_ri) |
17 | VARx(void *, vec_ri) |
18 | VARx(void *, vec_ro) |
18 | VARx(void *, vec_ro) |
19 | VARx(void *, vec_wi) |
19 | VARx(void *, vec_wi) |
… | |
… | |
84 | VARx(struct ev_fork **, forks) |
84 | VARx(struct ev_fork **, forks) |
85 | VARx(int, forkmax) |
85 | VARx(int, forkmax) |
86 | VARx(int, forkcnt) |
86 | VARx(int, forkcnt) |
87 | #endif |
87 | #endif |
88 | |
88 | |
|
|
89 | #if EV_USE_INOTIFY || EV_GENWRAP |
|
|
90 | VARx(int, fs_fd) |
|
|
91 | VARx(ev_io, fs_w); |
|
|
92 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
|
|
93 | #endif |
|
|
94 | |
89 | #undef VARx |
95 | #undef VARx |
90 | |
96 | |