mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
Add debug output
This commit is contained in:
parent
418d42b060
commit
5c943bbedb
|
@ -77,7 +77,10 @@ class FairMQChannel
|
||||||
FairMQChannel& operator=(FairMQChannel&&) = default;
|
FairMQChannel& operator=(FairMQChannel&&) = default;
|
||||||
|
|
||||||
/// Destructor
|
/// Destructor
|
||||||
virtual ~FairMQChannel() {}
|
virtual ~FairMQChannel()
|
||||||
|
{
|
||||||
|
// LOG(debug) << "Destroying channel " << fName;
|
||||||
|
}
|
||||||
|
|
||||||
struct ChannelConfigurationError : std::runtime_error { using std::runtime_error::runtime_error; };
|
struct ChannelConfigurationError : std::runtime_error { using std::runtime_error::runtime_error; };
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ void FairMQTransportFactoryNN::Reset()
|
||||||
|
|
||||||
FairMQTransportFactoryNN::~FairMQTransportFactoryNN()
|
FairMQTransportFactoryNN::~FairMQTransportFactoryNN()
|
||||||
{
|
{
|
||||||
|
LOG(debug) << "Destroying Shared Memory transport...";
|
||||||
// nn_term();
|
// nn_term();
|
||||||
// see https://www.freelists.org/post/nanomsg/Getting-rid-of-nn-init-and-nn-term,8
|
// see https://www.freelists.org/post/nanomsg/Getting-rid-of-nn-init-and-nn-term,8
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,6 +163,7 @@ fair::mq::Transport FairMQTransportFactorySHM::GetType() const
|
||||||
|
|
||||||
FairMQTransportFactorySHM::~FairMQTransportFactorySHM()
|
FairMQTransportFactorySHM::~FairMQTransportFactorySHM()
|
||||||
{
|
{
|
||||||
|
LOG(debug) << "Destroying Shared Memory transport...";
|
||||||
fSendHeartbeats = false;
|
fSendHeartbeats = false;
|
||||||
fHeartbeatThread.join();
|
fHeartbeatThread.join();
|
||||||
|
|
||||||
|
|
|
@ -102,6 +102,7 @@ fair::mq::Transport FairMQTransportFactoryZMQ::GetType() const
|
||||||
|
|
||||||
FairMQTransportFactoryZMQ::~FairMQTransportFactoryZMQ()
|
FairMQTransportFactoryZMQ::~FairMQTransportFactoryZMQ()
|
||||||
{
|
{
|
||||||
|
LOG(debug) << "Destroying ZeroMQ transport...";
|
||||||
if (fContext)
|
if (fContext)
|
||||||
{
|
{
|
||||||
if (zmq_ctx_term(fContext) != 0)
|
if (zmq_ctx_term(fContext) != 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user