mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
FairMQ: Implement simple ofi Send/Receive with meta com only
This commit is contained in:
committed by
Mohammad Al-Turany
parent
eaebfc6933
commit
4250e3d45b
@@ -30,7 +30,7 @@ class PairLeft : public FairMQDevice
|
||||
|
||||
auto Run() -> void override
|
||||
{
|
||||
auto msg = FairMQMessagePtr{NewMessage()};
|
||||
auto msg{NewMessageFor("data", 0)};
|
||||
Send(msg, "data");
|
||||
};
|
||||
};
|
||||
|
@@ -30,10 +30,9 @@ class PairRight : public FairMQDevice
|
||||
|
||||
auto Run() -> void override
|
||||
{
|
||||
auto msg = FairMQMessagePtr{NewMessage()};
|
||||
MessagePtr msg{NewMessageFor("data", 0)};
|
||||
|
||||
if (Receive(msg, "data") >= 0)
|
||||
{
|
||||
if (Receive(msg, "data") >= 0) {
|
||||
LOG(info) << "PAIR test successfull";
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user