… | |
… | |
6 | #define rtmn_diff ((loop)->rtmn_diff) |
6 | #define rtmn_diff ((loop)->rtmn_diff) |
7 | #define io_blocktime ((loop)->io_blocktime) |
7 | #define io_blocktime ((loop)->io_blocktime) |
8 | #define timeout_blocktime ((loop)->timeout_blocktime) |
8 | #define timeout_blocktime ((loop)->timeout_blocktime) |
9 | #define backend ((loop)->backend) |
9 | #define backend ((loop)->backend) |
10 | #define activecnt ((loop)->activecnt) |
10 | #define activecnt ((loop)->activecnt) |
11 | #define loop_count ((loop)->loop_count) |
11 | #define loop_done ((loop)->loop_done) |
12 | #define backend_fd ((loop)->backend_fd) |
12 | #define backend_fd ((loop)->backend_fd) |
13 | #define backend_fudge ((loop)->backend_fudge) |
13 | #define backend_fudge ((loop)->backend_fudge) |
14 | #define backend_modify ((loop)->backend_modify) |
14 | #define backend_modify ((loop)->backend_modify) |
15 | #define backend_poll ((loop)->backend_poll) |
15 | #define backend_poll ((loop)->backend_poll) |
|
|
16 | #define anfds ((loop)->anfds) |
|
|
17 | #define anfdmax ((loop)->anfdmax) |
|
|
18 | #define pendings ((loop)->pendings) |
|
|
19 | #define pendingmax ((loop)->pendingmax) |
|
|
20 | #define pendingcnt ((loop)->pendingcnt) |
|
|
21 | #define pending_w ((loop)->pending_w) |
|
|
22 | #define rfeeds ((loop)->rfeeds) |
|
|
23 | #define rfeedmax ((loop)->rfeedmax) |
|
|
24 | #define rfeedcnt ((loop)->rfeedcnt) |
16 | #define evfd ((loop)->evfd) |
25 | #define evfd ((loop)->evfd) |
17 | #define evpipe ((loop)->evpipe) |
26 | #define evpipe ((loop)->evpipe) |
18 | #define pipeev ((loop)->pipeev) |
27 | #define pipe_w ((loop)->pipe_w) |
19 | #define curpid ((loop)->curpid) |
28 | #define curpid ((loop)->curpid) |
20 | #define postfork ((loop)->postfork) |
29 | #define postfork ((loop)->postfork) |
21 | #define vec_ri ((loop)->vec_ri) |
30 | #define vec_ri ((loop)->vec_ri) |
22 | #define vec_ro ((loop)->vec_ro) |
31 | #define vec_ro ((loop)->vec_ro) |
23 | #define vec_wi ((loop)->vec_wi) |
32 | #define vec_wi ((loop)->vec_wi) |
… | |
… | |
36 | #define kqueue_changecnt ((loop)->kqueue_changecnt) |
45 | #define kqueue_changecnt ((loop)->kqueue_changecnt) |
37 | #define kqueue_events ((loop)->kqueue_events) |
46 | #define kqueue_events ((loop)->kqueue_events) |
38 | #define kqueue_eventmax ((loop)->kqueue_eventmax) |
47 | #define kqueue_eventmax ((loop)->kqueue_eventmax) |
39 | #define port_events ((loop)->port_events) |
48 | #define port_events ((loop)->port_events) |
40 | #define port_eventmax ((loop)->port_eventmax) |
49 | #define port_eventmax ((loop)->port_eventmax) |
41 | #define anfds ((loop)->anfds) |
|
|
42 | #define anfdmax ((loop)->anfdmax) |
|
|
43 | #define pendings ((loop)->pendings) |
|
|
44 | #define pendingmax ((loop)->pendingmax) |
|
|
45 | #define pendingcnt ((loop)->pendingcnt) |
|
|
46 | #define rfeeds ((loop)->rfeeds) |
|
|
47 | #define rfeedmax ((loop)->rfeedmax) |
|
|
48 | #define rfeedcnt ((loop)->rfeedcnt) |
|
|
49 | #define fdchanges ((loop)->fdchanges) |
50 | #define fdchanges ((loop)->fdchanges) |
50 | #define fdchangemax ((loop)->fdchangemax) |
51 | #define fdchangemax ((loop)->fdchangemax) |
51 | #define fdchangecnt ((loop)->fdchangecnt) |
52 | #define fdchangecnt ((loop)->fdchangecnt) |
52 | #define timers ((loop)->timers) |
53 | #define timers ((loop)->timers) |
53 | #define timermax ((loop)->timermax) |
54 | #define timermax ((loop)->timermax) |
… | |
… | |
66 | #define checkmax ((loop)->checkmax) |
67 | #define checkmax ((loop)->checkmax) |
67 | #define checkcnt ((loop)->checkcnt) |
68 | #define checkcnt ((loop)->checkcnt) |
68 | #define forks ((loop)->forks) |
69 | #define forks ((loop)->forks) |
69 | #define forkmax ((loop)->forkmax) |
70 | #define forkmax ((loop)->forkmax) |
70 | #define forkcnt ((loop)->forkcnt) |
71 | #define forkcnt ((loop)->forkcnt) |
71 | #define gotasync ((loop)->gotasync) |
72 | #define sig_pending ((loop)->sig_pending) |
|
|
73 | #define async_pending ((loop)->async_pending) |
72 | #define asyncs ((loop)->asyncs) |
74 | #define asyncs ((loop)->asyncs) |
73 | #define asyncmax ((loop)->asyncmax) |
75 | #define asyncmax ((loop)->asyncmax) |
74 | #define asynccnt ((loop)->asynccnt) |
76 | #define asynccnt ((loop)->asynccnt) |
75 | #define fs_fd ((loop)->fs_fd) |
77 | #define fs_fd ((loop)->fs_fd) |
76 | #define fs_w ((loop)->fs_w) |
78 | #define fs_w ((loop)->fs_w) |
77 | #define fs_2625 ((loop)->fs_2625) |
79 | #define fs_2625 ((loop)->fs_2625) |
78 | #define fs_hash ((loop)->fs_hash) |
80 | #define fs_hash ((loop)->fs_hash) |
|
|
81 | #define sigfd ((loop)->sigfd) |
|
|
82 | #define sigfd_w ((loop)->sigfd_w) |
|
|
83 | #define sigfd_set ((loop)->sigfd_set) |
|
|
84 | #define loop_count ((loop)->loop_count) |
|
|
85 | #define loop_depth ((loop)->loop_depth) |
|
|
86 | #define userdata ((loop)->userdata) |
|
|
87 | #define release_cb ((loop)->release_cb) |
|
|
88 | #define acquire_cb ((loop)->acquire_cb) |
|
|
89 | #define invoke_cb ((loop)->invoke_cb) |
79 | #else |
90 | #else |
80 | #undef EV_WRAP_H |
91 | #undef EV_WRAP_H |
81 | #undef now_floor |
92 | #undef now_floor |
82 | #undef mn_now |
93 | #undef mn_now |
83 | #undef rtmn_diff |
94 | #undef rtmn_diff |
84 | #undef io_blocktime |
95 | #undef io_blocktime |
85 | #undef timeout_blocktime |
96 | #undef timeout_blocktime |
86 | #undef backend |
97 | #undef backend |
87 | #undef activecnt |
98 | #undef activecnt |
88 | #undef loop_count |
99 | #undef loop_done |
89 | #undef backend_fd |
100 | #undef backend_fd |
90 | #undef backend_fudge |
101 | #undef backend_fudge |
91 | #undef backend_modify |
102 | #undef backend_modify |
92 | #undef backend_poll |
103 | #undef backend_poll |
|
|
104 | #undef anfds |
|
|
105 | #undef anfdmax |
|
|
106 | #undef pendings |
|
|
107 | #undef pendingmax |
|
|
108 | #undef pendingcnt |
|
|
109 | #undef pending_w |
|
|
110 | #undef rfeeds |
|
|
111 | #undef rfeedmax |
|
|
112 | #undef rfeedcnt |
93 | #undef evfd |
113 | #undef evfd |
94 | #undef evpipe |
114 | #undef evpipe |
95 | #undef pipeev |
115 | #undef pipe_w |
96 | #undef curpid |
116 | #undef curpid |
97 | #undef postfork |
117 | #undef postfork |
98 | #undef vec_ri |
118 | #undef vec_ri |
99 | #undef vec_ro |
119 | #undef vec_ro |
100 | #undef vec_wi |
120 | #undef vec_wi |
… | |
… | |
113 | #undef kqueue_changecnt |
133 | #undef kqueue_changecnt |
114 | #undef kqueue_events |
134 | #undef kqueue_events |
115 | #undef kqueue_eventmax |
135 | #undef kqueue_eventmax |
116 | #undef port_events |
136 | #undef port_events |
117 | #undef port_eventmax |
137 | #undef port_eventmax |
118 | #undef anfds |
|
|
119 | #undef anfdmax |
|
|
120 | #undef pendings |
|
|
121 | #undef pendingmax |
|
|
122 | #undef pendingcnt |
|
|
123 | #undef rfeeds |
|
|
124 | #undef rfeedmax |
|
|
125 | #undef rfeedcnt |
|
|
126 | #undef fdchanges |
138 | #undef fdchanges |
127 | #undef fdchangemax |
139 | #undef fdchangemax |
128 | #undef fdchangecnt |
140 | #undef fdchangecnt |
129 | #undef timers |
141 | #undef timers |
130 | #undef timermax |
142 | #undef timermax |
… | |
… | |
143 | #undef checkmax |
155 | #undef checkmax |
144 | #undef checkcnt |
156 | #undef checkcnt |
145 | #undef forks |
157 | #undef forks |
146 | #undef forkmax |
158 | #undef forkmax |
147 | #undef forkcnt |
159 | #undef forkcnt |
148 | #undef gotasync |
160 | #undef sig_pending |
|
|
161 | #undef async_pending |
149 | #undef asyncs |
162 | #undef asyncs |
150 | #undef asyncmax |
163 | #undef asyncmax |
151 | #undef asynccnt |
164 | #undef asynccnt |
152 | #undef fs_fd |
165 | #undef fs_fd |
153 | #undef fs_w |
166 | #undef fs_w |
154 | #undef fs_2625 |
167 | #undef fs_2625 |
155 | #undef fs_hash |
168 | #undef fs_hash |
|
|
169 | #undef sigfd |
|
|
170 | #undef sigfd_w |
|
|
171 | #undef sigfd_set |
|
|
172 | #undef loop_count |
|
|
173 | #undef loop_depth |
|
|
174 | #undef userdata |
|
|
175 | #undef release_cb |
|
|
176 | #undef acquire_cb |
|
|
177 | #undef invoke_cb |
156 | #endif |
178 | #endif |