Include thread pool ID in debug messages.

Refs #5050
This commit is contained in:
Gunnar Beutner 2013-11-15 12:20:19 +01:00
parent ff807dabff
commit 9a93cc83b3
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ void ThreadPool::ManagerThreadProc(void)
}
std::ostringstream msgbuf;
msgbuf << "Pending tasks: " << pending << "; Average latency: "
msgbuf << "Pool #" << m_ID << ": Pending tasks: " << pending << "; Average latency: "
<< (long)(avg_latency * 1000) << "ms"
<< "; Max latency: " << (long)(max_latency * 1000) << "ms"
<< "; Threads: " << alive