mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Simplify Tutorial3 structure.
Use same executable for bin/boost/protobuf/root data format, configured now via `--data-format <binary/boost/protobuf/tmessage>` command line parameter.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
8b71e4d20b
commit
5136c88d3a
@@ -551,7 +551,10 @@ bool FairMQChannel::ExpectsAnotherPart() const
|
||||
inline bool FairMQChannel::HandleUnblock() const
|
||||
{
|
||||
FairMQMessage* cmd = fTransportFactory->CreateMessage();
|
||||
fCmdSocket->Receive(cmd, 0);
|
||||
if (fCmdSocket->Receive(cmd, 0) >= 0)
|
||||
{
|
||||
LOG(DEBUG) << "unblocked";
|
||||
}
|
||||
delete cmd;
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user