Skip to content

Commit

Permalink
Fixed message which did not honor verbose level. (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Losilla <[email protected]>
  • Loading branch information
loximann and Sergio Losilla authored May 5, 2022
1 parent 4afd2bd commit 1451b6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/ThreadPool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,10 @@ ThreadPool::destroy_threadpool()
_global_control = nullptr;
m_tbb_tp = false;
AutoLock lock(TypeMutex<decltype(std::cerr)>());
std::cerr << "[PTL::ThreadPool] ThreadPool [TBB] destroyed" << std::endl;
if(m_verbose > 0)
{
std::cerr << "[PTL::ThreadPool] ThreadPool [TBB] destroyed" << std::endl;
}
}
#endif

Expand Down

0 comments on commit 1451b6c

Please sign in to comment.