D9240: [RunnerManager] Use QThread::idealThreadCount() instead of going through Solid
Kai Uwe Broulik
noreply at phabricator.kde.org
Thu Dec 7 14:29:06 UTC 2017
broulik added inline comments.
INLINE COMMENTS
> runnermanager.cpp:107
> const int maxThreads = config.readEntry("maxThreads", 16);
> - const int numThreads = qMin(maxThreads, 2 + ((numProcs - 1) * 2));
> - //qCDebug(KRUNNER) << "setting up" << numThreads << "threads for" << numProcs << "processors";
Or should we keep this weird logic and substitute `numProcs` for `idealThreadCount`?
REPOSITORY
R308 KRunner
REVISION DETAIL
https://phabricator.kde.org/D9240
To: broulik, #plasma, #frameworks
Cc: plasma-devel, #frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171207/eae21468/attachment.html>
More information about the Plasma-devel
mailing list