… | |
… | |
63 | |
63 | |
64 | #if !defined(_WIN32) || EV_GENWRAP |
64 | #if !defined(_WIN32) || EV_GENWRAP |
65 | VARx(pid_t, curpid) |
65 | VARx(pid_t, curpid) |
66 | #endif |
66 | #endif |
67 | |
67 | |
68 | VARx(int, postfork) /* true if we need to recreate kernel state after fork */ |
68 | VARx(char, postfork) /* true if we need to recreate kernel state after fork */ |
69 | |
69 | |
70 | #if EV_USE_SELECT || EV_GENWRAP |
70 | #if EV_USE_SELECT || EV_GENWRAP |
71 | VARx(void *, vec_ri) |
71 | VARx(void *, vec_ri) |
72 | VARx(void *, vec_ro) |
72 | VARx(void *, vec_ro) |
73 | VARx(void *, vec_wi) |
73 | VARx(void *, vec_wi) |
74 | VARx(void *, vec_wo) |
74 | VARx(void *, vec_wo) |
|
|
75 | #if defined(_WIN32) || EV_GENWRAP |
|
|
76 | VARx(void *, vec_eo) |
|
|
77 | #endif |
75 | VARx(int, vec_max) |
78 | VARx(int, vec_max) |
76 | #endif |
79 | #endif |
77 | |
80 | |
78 | #if EV_USE_POLL || EV_GENWRAP |
81 | #if EV_USE_POLL || EV_GENWRAP |
79 | VARx(struct pollfd *, polls) |
82 | VARx(struct pollfd *, polls) |
… | |
… | |
106 | |
109 | |
107 | VAR (pendings, ANPENDING *pendings [NUMPRI]) |
110 | VAR (pendings, ANPENDING *pendings [NUMPRI]) |
108 | VAR (pendingmax, int pendingmax [NUMPRI]) |
111 | VAR (pendingmax, int pendingmax [NUMPRI]) |
109 | VAR (pendingcnt, int pendingcnt [NUMPRI]) |
112 | VAR (pendingcnt, int pendingcnt [NUMPRI]) |
110 | |
113 | |
|
|
114 | /* for reverse feeding of events */ |
|
|
115 | VARx(W *, rfeeds) |
|
|
116 | VARx(int, rfeedmax) |
|
|
117 | VARx(int, rfeedcnt) |
|
|
118 | |
111 | VARx(int *, fdchanges) |
119 | VARx(int *, fdchanges) |
112 | VARx(int, fdchangemax) |
120 | VARx(int, fdchangemax) |
113 | VARx(int, fdchangecnt) |
121 | VARx(int, fdchangecnt) |
114 | |
122 | |
115 | VARx(WT *, timers) |
123 | VARx(ANHE *, timers) |
116 | VARx(int, timermax) |
124 | VARx(int, timermax) |
117 | VARx(int, timercnt) |
125 | VARx(int, timercnt) |
118 | |
126 | |
119 | #if EV_PERIODIC_ENABLE || EV_GENWRAP |
127 | #if EV_PERIODIC_ENABLE || EV_GENWRAP |
120 | VARx(WT *, periodics) |
128 | VARx(ANHE *, periodics) |
121 | VARx(int, periodicmax) |
129 | VARx(int, periodicmax) |
122 | VARx(int, periodiccnt) |
130 | VARx(int, periodiccnt) |
123 | #endif |
131 | #endif |
124 | |
132 | |
125 | #if EV_IDLE_ENABLE || EV_GENWRAP |
133 | #if EV_IDLE_ENABLE || EV_GENWRAP |
… | |
… | |
151 | #endif |
159 | #endif |
152 | |
160 | |
153 | #if EV_USE_INOTIFY || EV_GENWRAP |
161 | #if EV_USE_INOTIFY || EV_GENWRAP |
154 | VARx(int, fs_fd) |
162 | VARx(int, fs_fd) |
155 | VARx(ev_io, fs_w) |
163 | VARx(ev_io, fs_w) |
|
|
164 | VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */ |
156 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
165 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
157 | #endif |
166 | #endif |
158 | |
167 | |
159 | #undef VARx |
168 | #undef VARx |
160 | |
169 | |