diff --git a/io.c b/io.c index 4cd8d4d64e..9f6c2fe871 100644 --- a/io.c +++ b/io.c @@ -10370,7 +10370,7 @@ nogvl_wait_for_single_fd(int fd, short events) fds.fd = fd; fds.events = events; - return poll(&fds, 1, 0); + return poll(&fds, 1, -1); } static int