From 1dba16b15f5b4d37cbb84250cf55b73d763da929 Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Wed, 8 Jun 2016 21:54:02 -0400 Subject: [PATCH] comment some debug logging --- src/IOThread.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/IOThread.h b/src/IOThread.h index 5a2a1da..f39d71d 100644 --- a/src/IOThread.h +++ b/src/IOThread.h @@ -147,16 +147,16 @@ public: void purge() { std::lock_guard < std::mutex > lock(m_mutex); - if (bufferId == "DemodulatorThreadBuffers") { - std::cout << "'" << bufferId << "' purging.. total indexes: " << indexCounter.load() << std::endl; - } +// if (bufferId == "DemodulatorThreadBuffers") { +// std::cout << "'" << bufferId << "' purging.. total indexes: " << indexCounter.load() << std::endl; +// } while (!outputBuffers.empty()) { BufferType *ref = outputBuffers.front(); outputBuffers.pop_front(); if (ref->getRefCount() <= 0) { delete ref; } else { - // Something isn't done with it yet; throw it on the pile.. + // Something isn't done with it yet; throw it on the pile.. keep this as a bug indicator for now.. std::cout << "'" << bufferId << "' pushed garbage.." << std::endl; ReBufferGC::addGarbage(ref); }