From d9d62f176bddc62d9ec0d3b91654bd1d331416a0 Mon Sep 17 00:00:00 2001 From: Arvid Ephraim Picciani Date: Fri, 17 Sep 2010 15:43:19 +0200 Subject: QThreadPool: name pooled threads Task-Number: QTBUG-13702 Reviewed-by: Andy Shaw Reviewed-by: ossi --- src/corelib/concurrent/qthreadpool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/concurrent/qthreadpool.cpp b/src/corelib/concurrent/qthreadpool.cpp index f25a494..265de33 100644 --- a/src/corelib/concurrent/qthreadpool.cpp +++ b/src/corelib/concurrent/qthreadpool.cpp @@ -250,6 +250,7 @@ bool QThreadPoolPrivate::tooManyThreadsActive() const void QThreadPoolPrivate::startThread(QRunnable *runnable) { QScopedPointer thread(new QThreadPoolThread(this)); + thread->setObjectName(QLatin1String("Thread (pooled)")); allThreads.insert(thread.data()); ++activeThreads; -- cgit v0.12