CppTools: Use a shared thread pool

Without this, too many threads are spawned, and loading a project takes
forever.

Change-Id: I3c22557ddd7bfb0c70f7b089c276432e3b003097
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-02-17 23:27:41 +02:00
committed by Orgad Shaneh
parent 9c0faff713
commit 6234511a2c
7 changed files with 23 additions and 7 deletions

View File

@@ -162,6 +162,8 @@ public:
SymbolFinder *symbolFinder();
QThreadPool *sharedThreadPool();
static QSet<QString> timeStampModifiedFiles(const QList<Document::Ptr> &documentsToCheck);
static Internal::CppSourceProcessor *createSourceProcessor();