From: Gunnar Beutner Date: Wed, 18 Sep 2013 07:32:16 +0000 (+0200) Subject: Use short name for threadpool worker threads. X-Git-Tag: v0.0.3~480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db2f7d5bf361d856f98f7dd4122b5c6b9962c525;p=icinga2 Use short name for threadpool worker threads. --- diff --git a/lib/base/threadpool.cpp b/lib/base/threadpool.cpp index 8423f2aca..237ed4e8a 100644 --- a/lib/base/threadpool.cpp +++ b/lib/base/threadpool.cpp @@ -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 (;;) {