Improve log level selection from command line. Some extra shutdown logging.

This commit is contained in:
JoelKatz
2012-12-20 09:27:50 -08:00
parent ca25c6c3fb
commit 0106365098
4 changed files with 22 additions and 4 deletions

View File

@@ -181,6 +181,7 @@ void JobQueue::shutdown()
mJobCond.notify_all();
while (mThreadCount != 0)
mJobCond.wait(sl);
cLog(lsDEBUG) << "Job queue has shut down";
}
void JobQueue::setThreadCount(int c)