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 |
root |
1.14 |
VARx(ev_tstamp, rtmn_diff) /* difference realtime - monotonic time */ |
6 |
root |
1.10 |
VARx(int, backend) |
7 |
root |
1.16 |
VARx(int, activecnt) /* total number of active events ("refcount") */ |
8 |
root |
1.17 |
VARx(unsigned int, loop_count); /* total number of loop iterations/blocks */ |
9 |
root |
1.2 |
|
10 |
root |
1.10 |
VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */ |
11 |
|
|
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)) |
13 |
root |
1.11 |
VARx(int, backend_fd) |
14 |
root |
1.2 |
|
15 |
root |
1.16 |
#if !defined(_WIN32) || EV_GENWRAP |
16 |
|
|
VARx(pid_t, curpid) |
17 |
|
|
#endif |
18 |
|
|
|
19 |
root |
1.4 |
VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
20 |
root |
1.2 |
|
21 |
|
|
#if EV_USE_SELECT || EV_GENWRAP |
22 |
root |
1.8 |
VARx(void *, vec_ri) |
23 |
|
|
VARx(void *, vec_ro) |
24 |
|
|
VARx(void *, vec_wi) |
25 |
|
|
VARx(void *, vec_wo) |
26 |
root |
1.2 |
VARx(int, vec_max) |
27 |
root |
1.1 |
#endif |
28 |
|
|
|
29 |
root |
1.2 |
#if EV_USE_POLL || EV_GENWRAP |
30 |
|
|
VARx(struct pollfd *, polls) |
31 |
|
|
VARx(int, pollmax) |
32 |
|
|
VARx(int, pollcnt) |
33 |
|
|
VARx(int *, pollidxs) /* maps fds into structure indices */ |
34 |
|
|
VARx(int, pollidxmax) |
35 |
root |
1.1 |
#endif |
36 |
|
|
|
37 |
root |
1.2 |
#if EV_USE_EPOLL || EV_GENWRAP |
38 |
|
|
VARx(struct epoll_event *, epoll_events) |
39 |
|
|
VARx(int, epoll_eventmax) |
40 |
root |
1.1 |
#endif |
41 |
|
|
|
42 |
root |
1.2 |
#if EV_USE_KQUEUE || EV_GENWRAP |
43 |
|
|
VARx(struct kevent *, kqueue_changes) |
44 |
|
|
VARx(int, kqueue_changemax) |
45 |
|
|
VARx(int, kqueue_changecnt) |
46 |
|
|
VARx(struct kevent *, kqueue_events) |
47 |
|
|
VARx(int, kqueue_eventmax) |
48 |
root |
1.1 |
#endif |
49 |
|
|
|
50 |
root |
1.9 |
#if EV_USE_PORT || EV_GENWRAP |
51 |
|
|
VARx(struct port_event *, port_events) |
52 |
|
|
VARx(int, port_eventmax) |
53 |
|
|
#endif |
54 |
|
|
|
55 |
root |
1.2 |
VARx(ANFD *, anfds) |
56 |
|
|
VARx(int, anfdmax) |
57 |
root |
1.1 |
|
58 |
root |
1.2 |
VAR (pendings, ANPENDING *pendings [NUMPRI]) |
59 |
|
|
VAR (pendingmax, int pendingmax [NUMPRI]) |
60 |
|
|
VAR (pendingcnt, int pendingcnt [NUMPRI]) |
61 |
root |
1.1 |
|
62 |
root |
1.2 |
VARx(int *, fdchanges) |
63 |
|
|
VARx(int, fdchangemax) |
64 |
|
|
VARx(int, fdchangecnt) |
65 |
root |
1.1 |
|
66 |
root |
1.2 |
VARx(struct ev_timer **, timers) |
67 |
|
|
VARx(int, timermax) |
68 |
|
|
VARx(int, timercnt) |
69 |
root |
1.1 |
|
70 |
root |
1.12 |
#if EV_PERIODIC_ENABLE || EV_GENWRAP |
71 |
root |
1.2 |
VARx(struct ev_periodic **, periodics) |
72 |
|
|
VARx(int, periodicmax) |
73 |
|
|
VARx(int, periodiccnt) |
74 |
root |
1.7 |
#endif |
75 |
root |
1.1 |
|
76 |
root |
1.18 |
#if EV_IDLE_ENABLE || EV_GENWRAP |
77 |
|
|
VAR (idles, ev_idle **idles [NUMPRI]) |
78 |
|
|
VAR (idlemax, int idlemax [NUMPRI]) |
79 |
|
|
VAR (idlecnt, int idlecnt [NUMPRI]) |
80 |
|
|
#endif |
81 |
|
|
VARx(int, idleall) /* total number */ |
82 |
root |
1.1 |
|
83 |
root |
1.2 |
VARx(struct ev_prepare **, prepares) |
84 |
|
|
VARx(int, preparemax) |
85 |
|
|
VARx(int, preparecnt) |
86 |
root |
1.1 |
|
87 |
root |
1.2 |
VARx(struct ev_check **, checks) |
88 |
|
|
VARx(int, checkmax) |
89 |
|
|
VARx(int, checkcnt) |
90 |
root |
1.1 |
|
91 |
root |
1.13 |
#if EV_FORK_ENABLE || EV_GENWRAP |
92 |
|
|
VARx(struct ev_fork **, forks) |
93 |
|
|
VARx(int, forkmax) |
94 |
|
|
VARx(int, forkcnt) |
95 |
|
|
#endif |
96 |
|
|
|
97 |
root |
1.14 |
#if EV_USE_INOTIFY || EV_GENWRAP |
98 |
|
|
VARx(int, fs_fd) |
99 |
root |
1.15 |
VARx(ev_io, fs_w) |
100 |
root |
1.14 |
VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
101 |
|
|
#endif |
102 |
|
|
|
103 |
root |
1.1 |
#undef VARx |
104 |
|
|
|