diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-11-29 11:59:26 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-12-02 10:01:13 +0100 |
commit | a2b5b5c8f6e09ccfaca8044b34f4d9675c3be14a (patch) | |
tree | 03f74b0ea9b4955662992b3961b612f6f9335762 /src/core/jobs/qthreadpooler_p.h | |
parent | b6923f6fa0c01fa47f99f9794a17fe99c5397680 (diff) |
Make QThreadPooler use the global thread pool
This should ensure we don't have too many idling threads
Change-Id: Ia533fc07140a4944a1149aca1565b0d8ae3cda22
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/jobs/qthreadpooler_p.h')
-rw-r--r-- | src/core/jobs/qthreadpooler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/jobs/qthreadpooler_p.h b/src/core/jobs/qthreadpooler_p.h index 65459efba..3e17cbd6d 100644 --- a/src/core/jobs/qthreadpooler_p.h +++ b/src/core/jobs/qthreadpooler_p.h @@ -103,7 +103,7 @@ private: QFutureInterface<void> *m_futureInterface; QMutex m_mutex; QAtomicInt m_taskCount; - QThreadPool m_threadPool; + QThreadPool *m_threadPool; }; } // namespace Qt3DCore |