Fix bug in nanomsg implementation of poller check.

This commit is contained in:
Alexey Rybalchenko
2015-09-08 14:34:05 +02:00
committed by Mohammad Al-Turany
parent 35ff6c8fc8
commit dc6fb4698c
2 changed files with 1 additions and 3 deletions

View File

@@ -33,8 +33,6 @@ void FairMQExample5Server::Run()
{
while (CheckCurrentState(RUNNING))
{
boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
unique_ptr<FairMQMessage> request(fTransportFactory->CreateMessage());
if (fChannels.at("data").at(0).Receive(request) > 0)