… | |
… | |
437 | break; |
437 | break; |
438 | } |
438 | } |
439 | else |
439 | else |
440 | break; /* no events from the kernel, we are done */ |
440 | break; /* no events from the kernel, we are done */ |
441 | |
441 | |
442 | timeout = 0; /* only wait in the first iteration */ |
442 | timeout = EV_TS_CONST (0.); /* only wait in the first iteration */ |
443 | } |
443 | } |
444 | } |
444 | } |
445 | |
445 | |
446 | inline_size |
446 | inline_size |
447 | int |
447 | int |
… | |
… | |
517 | backend = EVBACKEND_EPOLL; |
517 | backend = EVBACKEND_EPOLL; |
518 | backend_modify = epoll_modify; |
518 | backend_modify = epoll_modify; |
519 | backend_poll = epoll_poll; |
519 | backend_poll = epoll_poll; |
520 | } |
520 | } |
521 | |
521 | |
522 | timeout = 0; |
522 | timeout = EV_TS_CONST (0.); |
523 | /* it's easiest to handle this mess in another iteration */ |
523 | /* it's easiest to handle this mess in another iteration */ |
524 | return; |
524 | return; |
525 | } |
525 | } |
526 | else if (errno == EBADF) |
526 | else if (errno == EBADF) |
527 | { |
527 | { |