mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Adding multiple transports support & other fixes:
- Avoid polling when only one input channel is used. - Send only handles for shared memory transport. - Avoid waiting in the rate logger thread when nothing to log. - Hide warnings from generated files - Fix #483
This commit is contained in:
committed by
Mohammad Al-Turany
parent
e53ad151a7
commit
c66fd6fe91
@@ -7,6 +7,8 @@
|
||||
********************************************************************************/
|
||||
#include <zmq.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
|
||||
#include "FairMQLogger.h"
|
||||
@@ -46,11 +48,11 @@ FairMQContextSHM::~FairMQContextSHM()
|
||||
|
||||
if (boost::interprocess::shared_memory_object::remove("FairMQSharedMemory"))
|
||||
{
|
||||
LOG(INFO) << "Successfully removed shared memory after the device has stopped.";
|
||||
printf("Successfully removed shared memory after the device has stopped.\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG(INFO) << "Did not remove shared memory after the device stopped. Still in use?";
|
||||
printf("Did not remove shared memory after the device stopped. Already removed?\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user