Add FairMQ tests (PUB-SUB, PUSH-PULL, REQ-REP).

This commit is contained in:
Alexey Rybalchenko
2015-09-04 17:04:52 +02:00
committed by Mohammad Al-Turany
parent fbf7dbf2ba
commit f13bb5995d
40 changed files with 921 additions and 47 deletions

View File

@@ -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);