1 |
root |
1.1 |
#define VARx(type,name) VAR(name, type name) |
2 |
|
|
|
3 |
root |
1.2 |
VARx(ev_tstamp, now_floor) /* last time we refreshed rt_time */ |
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 */ |
7 |
|
|
VARx(int, method) |
8 |
|
|
|
9 |
|
|
VARx(ev_tstamp, method_fudge) /* assumed typical timer resolution */ |
10 |
|
|
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)) |
12 |
|
|
|
13 |
root |
1.4 |
VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
14 |
root |
1.2 |
VARx(int, activecnt) /* number of active events */ |
15 |
|
|
|
16 |
|
|
#if EV_USE_SELECT || EV_GENWRAP |
17 |
|
|
VARx(unsigned char *, vec_ri) |
18 |
|
|
VARx(unsigned char *, vec_ro) |
19 |
|
|
VARx(unsigned char *, vec_wi) |
20 |
|
|
VARx(unsigned char *, vec_wo) |
21 |
|
|
VARx(int, vec_max) |
22 |
root |
1.1 |
#endif |
23 |
|
|
|
24 |
root |
1.2 |
#if EV_USE_POLL || EV_GENWRAP |
25 |
|
|
VARx(struct pollfd *, polls) |
26 |
|
|
VARx(int, pollmax) |
27 |
|
|
VARx(int, pollcnt) |
28 |
|
|
VARx(int *, pollidxs) /* maps fds into structure indices */ |
29 |
|
|
VARx(int, pollidxmax) |
30 |
root |
1.1 |
#endif |
31 |
|
|
|
32 |
root |
1.2 |
#if EV_USE_EPOLL || EV_GENWRAP |
33 |
|
|
VARx(int, epoll_fd) |
34 |
root |
1.1 |
|
35 |
root |
1.2 |
VARx(struct epoll_event *, epoll_events) |
36 |
|
|
VARx(int, epoll_eventmax) |
37 |
root |
1.1 |
#endif |
38 |
|
|
|
39 |
root |
1.2 |
#if EV_USE_KQUEUE || EV_GENWRAP |
40 |
|
|
VARx(int, kqueue_fd) |
41 |
|
|
VARx(struct kevent *, kqueue_changes) |
42 |
|
|
VARx(int, kqueue_changemax) |
43 |
|
|
VARx(int, kqueue_changecnt) |
44 |
|
|
VARx(struct kevent *, kqueue_events) |
45 |
|
|
VARx(int, kqueue_eventmax) |
46 |
root |
1.1 |
#endif |
47 |
|
|
|
48 |
root |
1.2 |
VARx(ANFD *, anfds) |
49 |
|
|
VARx(int, anfdmax) |
50 |
root |
1.1 |
|
51 |
root |
1.2 |
VAR (pendings, ANPENDING *pendings [NUMPRI]) |
52 |
|
|
VAR (pendingmax, int pendingmax [NUMPRI]) |
53 |
|
|
VAR (pendingcnt, int pendingcnt [NUMPRI]) |
54 |
root |
1.1 |
|
55 |
root |
1.2 |
VARx(int *, fdchanges) |
56 |
|
|
VARx(int, fdchangemax) |
57 |
|
|
VARx(int, fdchangecnt) |
58 |
root |
1.1 |
|
59 |
root |
1.2 |
VARx(struct ev_timer **, timers) |
60 |
|
|
VARx(int, timermax) |
61 |
|
|
VARx(int, timercnt) |
62 |
root |
1.1 |
|
63 |
root |
1.2 |
VARx(struct ev_periodic **, periodics) |
64 |
|
|
VARx(int, periodicmax) |
65 |
|
|
VARx(int, periodiccnt) |
66 |
root |
1.1 |
|
67 |
root |
1.2 |
VARx(struct ev_idle **, idles) |
68 |
|
|
VARx(int, idlemax) |
69 |
|
|
VARx(int, idlecnt) |
70 |
root |
1.1 |
|
71 |
root |
1.2 |
VARx(struct ev_prepare **, prepares) |
72 |
|
|
VARx(int, preparemax) |
73 |
|
|
VARx(int, preparecnt) |
74 |
root |
1.1 |
|
75 |
root |
1.2 |
VARx(struct ev_check **, checks) |
76 |
|
|
VARx(int, checkmax) |
77 |
|
|
VARx(int, checkcnt) |
78 |
root |
1.1 |
|
79 |
|
|
#undef VARx |
80 |
|
|
|