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;
|
||||
|
||||
/// Destructor
|
||||
virtual ~FairMQChannel() {}
|
||||
virtual ~FairMQChannel()
|
||||
{
|
||||
// LOG(debug) << "Destroying channel " << fName;
|
||||
}
|
||||
|
||||
struct ChannelConfigurationError : std::runtime_error { using std::runtime_error::runtime_error; };
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ void FairMQTransportFactoryNN::Reset()
|
|||
|
||||
FairMQTransportFactoryNN::~FairMQTransportFactoryNN()
|
||||
{
|
||||
LOG(debug) << "Destroying Shared Memory transport...";
|
||||
// nn_term();
|
||||
// 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()
|
||||
{
|
||||
LOG(debug) << "Destroying Shared Memory transport...";
|
||||
fSendHeartbeats = false;
|
||||
fHeartbeatThread.join();
|
||||
|
||||
|
|
|
@ -102,6 +102,7 @@ fair::mq::Transport FairMQTransportFactoryZMQ::GetType() const
|
|||
|
||||
FairMQTransportFactoryZMQ::~FairMQTransportFactoryZMQ()
|
||||
{
|
||||
LOG(debug) << "Destroying ZeroMQ transport...";
|
||||
if (fContext)
|
||||
{
|
||||
if (zmq_ctx_term(fContext) != 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user