… | |
… | |
176 | { |
176 | { |
177 | loop = EV_DEFAULT; |
177 | loop = EV_DEFAULT; |
178 | |
178 | |
179 | ev_idle_init (&repeat_watcher, repeat); |
179 | ev_idle_init (&repeat_watcher, repeat); |
180 | ev_async_init (&ready_watcher, ready); |
180 | ev_async_init (&ready_watcher, ready); |
181 | ev_async_start (loop &watcher); |
181 | ev_async_start (loop, &watcher); |
182 | |
182 | |
183 | eio_init (want_poll, 0); |
183 | eio_init (want_poll, 0); |
184 | } |
184 | } |
185 | |
185 | |
186 | For most other event loops, you would typically use a pipe - the event |
186 | For most other event loops, you would typically use a pipe - the event |