shmem: introduce FairMQShmMonitor.

This commit is contained in:
Alexey Rybalchenko
2017-04-24 14:53:33 +02:00
committed by Mohammad Al-Turany
parent 7b4a2ae932
commit 2a526b8625
10 changed files with 446 additions and 14 deletions

View File

@@ -10,20 +10,23 @@
#include <atomic>
namespace FairMQ
namespace fair
{
namespace mq
{
namespace shmem
{
struct FairMQShmDeviceCounter
struct DeviceCounter
{
FairMQShmDeviceCounter(unsigned int c)
DeviceCounter(unsigned int c)
: count(c)
{}
std::atomic<unsigned int> count;
};
} // namespace shmem
} // namespace FairMQ
} // namespace mq
} // namespace fair
#endif /* FAIRMQSHMDEVICECOUNTER_H_ */