… | |
… | |
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) |
… | |
… | |
108 | VARx(int, anfdmax) |
108 | VARx(int, anfdmax) |
109 | |
109 | |
110 | VAR (pendings, ANPENDING *pendings [NUMPRI]) |
110 | VAR (pendings, ANPENDING *pendings [NUMPRI]) |
111 | VAR (pendingmax, int pendingmax [NUMPRI]) |
111 | VAR (pendingmax, int pendingmax [NUMPRI]) |
112 | VAR (pendingcnt, int pendingcnt [NUMPRI]) |
112 | VAR (pendingcnt, int pendingcnt [NUMPRI]) |
|
|
113 | |
|
|
114 | /* for reverse feeding of events */ |
|
|
115 | VARx(W *, rfeeds) |
|
|
116 | VARx(int, rfeedmax) |
|
|
117 | VARx(int, rfeedcnt) |
113 | |
118 | |
114 | VARx(int *, fdchanges) |
119 | VARx(int *, fdchanges) |
115 | VARx(int, fdchangemax) |
120 | VARx(int, fdchangemax) |
116 | VARx(int, fdchangecnt) |
121 | VARx(int, fdchangecnt) |
117 | |
122 | |
… | |
… | |
154 | #endif |
159 | #endif |
155 | |
160 | |
156 | #if EV_USE_INOTIFY || EV_GENWRAP |
161 | #if EV_USE_INOTIFY || EV_GENWRAP |
157 | VARx(int, fs_fd) |
162 | VARx(int, fs_fd) |
158 | 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 */ |
159 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
165 | VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE]) |
160 | #endif |
166 | #endif |
161 | |
167 | |
162 | #undef VARx |
168 | #undef VARx |
163 | |
169 | |