mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
Use short name for threadpool worker threads.
This commit is contained in:
parent
411f23f9e7
commit
db2f7d5bf3
@ -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 (;;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user