mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix bug in nanomsg implementation of poller check.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
35ff6c8fc8
commit
dc6fb4698c
@@ -130,7 +130,7 @@ void FairMQPollerNN::Poll(int timeout)
|
||||
|
||||
bool FairMQPollerNN::CheckInput(const int index)
|
||||
{
|
||||
if (items[index].revents & NN_POLLIN)
|
||||
if (items[index].revents & (NN_POLLIN | NN_POLLOUT))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user