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
1 changed files with 1 additions and 1 deletions

View File

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