… | … | ||
---|---|---|---|
218 | } | 218 | } |
219 | 219 | ||
220 | if (!to && !fds) //TODO: also check idle_watchers and check_watchers | 220 | if (!to && !fds) //TODO: also check idle_watchers and check_watchers |
221 | break; // no events | 221 | break; // no events |
222 | 222 | ||
223 | fds = select (fds, &rfd, &wfd, &efd, to); | 223 | fds = select (fds, &rfd, &wfd, NULL, to); |
224 | # if IOM_TIME | 224 | # if IOM_TIME |
225 | set_now (); | 225 | set_now (); |
226 | # endif | 226 | # endif |
227 | 227 | ||
228 | if (fds > 0) | 228 | if (fds > 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |