]> granicus.if.org Git - icinga2/commitdiff
Use short name for threadpool worker threads.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 18 Sep 2013 07:32:16 +0000 (09:32 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 18 Sep 2013 07:32:16 +0000 (09:32 +0200)
lib/base/threadpool.cpp

index 8423f2aca14868d2937b5ac82c1e5baa5ec2cde2..237ed4e8a2f2e43656e5027630e996e4940538e9 100644 (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 (;;) {