mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +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)
|
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 (;;) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user