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 | |