mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add FairMQ tests (PUB-SUB, PUSH-PULL, REQ-REP).
This commit is contained in:
committed by
Mohammad Al-Turany
parent
fbf7dbf2ba
commit
f13bb5995d
@@ -119,7 +119,7 @@ class base_GenericSampler : public FairMQDevice, public T, public U
|
||||
we can do in the main function as follow :
|
||||
|
||||
sampler.RegisterTask(
|
||||
[&](TSampler* s, std::map<int, std::function<void()> >& task_list)
|
||||
[&](TSampler* s, std::map<int, std::function<void()>>& task_list)
|
||||
{
|
||||
task_list[0]=std::bind(myfunction);
|
||||
task_list[1]=std::bind(&U::template MultiPartTask<5>, s);
|
||||
|
Reference in New Issue
Block a user