OSDN Git Service
(root)
/
lamexp
/
LameXP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a849831
)
Tweaked number of threads a bit.
author
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 2 Nov 2013 00:06:45 +0000
(
01:06
+0100)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 2 Nov 2013 00:06:45 +0000
(
01:06
+0100)
src/Thread_Initialization.cpp
patch
|
blob
|
history
diff --git
a/src/Thread_Initialization.cpp
b/src/Thread_Initialization.cpp
index
19e2827
..
1770bc9
100644
(file)
--- a/
src/Thread_Initialization.cpp
+++ b/
src/Thread_Initialization.cpp
@@
-286,7
+286,7
@@
double InitializationThread::doInit(const size_t threadCount)
QDir appDir = QDir(QCoreApplication::applicationDirPath()).canonicalPath();
QThreadPool *pool = new QThreadPool();
- pool->setMaxThreadCount((threadCount > 0) ? threadCount : qBound(2U, (m_cpuFeatures.count *
2
U), EXPECTED_TOOL_COUNT));
+ pool->setMaxThreadCount((threadCount > 0) ? threadCount : qBound(2U, (m_cpuFeatures.count *
3
U), EXPECTED_TOOL_COUNT));
LockedFile::selfTest();
ExtractorTask::clearFlags();