diff options
author | David Robillard <d@drobilla.net> | 2020-02-26 21:18:48 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-26 21:18:48 +0100 |
commit | c77d41979f795224e8a10bee355ef1a8b734ed48 (patch) | |
tree | 86c4bc3af2273743624d1eb44f5a21aaf0ad0c91 | |
parent | e8df60dc3647c9deac999a7d3ccf73354ab939c4 (diff) | |
download | ingen-c77d41979f795224e8a10bee355ef1a8b734ed48.tar.gz ingen-c77d41979f795224e8a10bee355ef1a8b734ed48.tar.bz2 ingen-c77d41979f795224e8a10bee355ef1a8b734ed48.zip |
Poll for POLLPRI as well
I don't think this actually matters, but I'm now paranoid about poll() not
waking up on input for any reason.
-rw-r--r-- | src/SocketReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketReader.cpp b/src/SocketReader.cpp index c8dbfe48..409a1d86 100644 --- a/src/SocketReader.cpp +++ b/src/SocketReader.cpp @@ -157,7 +157,7 @@ SocketReader::run() struct pollfd pfd{}; pfd.fd = _socket->fd(); - pfd.events = POLLIN; + pfd.events = POLLIN|POLLPRI; pfd.revents = 0; while (!_exit_flag && !_socket_error) { |