Use short name for threadpool worker threads.

This commit is contained in:
Gunnar Beutner 2013-09-18 09:32:16 +02:00
parent 411f23f9e7
commit db2f7d5bf3

View File

@ -99,7 +99,7 @@ void ThreadPool::Join(void)
void ThreadPool::QueueThreadProc(int tid) void ThreadPool::QueueThreadProc(int tid)
{ {
std::ostringstream idbuf; std::ostringstream idbuf;
idbuf << "TP #" << m_ID << " Worker #" << tid; idbuf << "TP #" << m_ID << " W #" << tid;
Utility::SetThreadName(idbuf.str()); Utility::SetThreadName(idbuf.str());
for (;;) { for (;;) {