diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2018-09-11 20:29:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 20:29:48 +0300 |
commit | b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc (patch) | |
tree | 115eff3060e514bb31b18719eb12a687e86310ad /Python/mysnprintf.c | |
parent | 0baa72f4b2e7185298d09cf64c7b591efcd22af0 (diff) | |
download | cpython-git-b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc.tar.gz |
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().
Diffstat (limited to 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions