commit | b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc | [log] [tgz] |
---|---|---|
author | Berker Peksag <berker.peksag@gmail.com> | Tue Sep 11 20:29:48 2018 +0300 |
committer | GitHub <noreply@github.com> | Tue Sep 11 20:29:48 2018 +0300 |
tree | 115eff3060e514bb31b18719eb12a687e86310ad | |
parent | 0baa72f4b2e7185298d09cf64c7b591efcd22af0 [diff] |
bpo-29386: Pass -1 to epoll_wait() when timeout is < -1 (GH-9040) Although the kernel accepts any negative value for timeout, the documented value to block indefinitely is -1. This commit also makes the code similar to select.poll.poll().