diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-03-26 12:27:21 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-03-26 12:27:21 (GMT) |
commit | b641daa11d579f58468be7f30042a100d8c483c5 (patch) | |
tree | ae6e85b2712bf93f5c0653b13ac3bfa2f016172d /src/corelib/kernel | |
parent | c48326d14d4fe8de5e11d977a30c04fd8a9aeb27 (diff) | |
download | Qt-b641daa11d579f58468be7f30042a100d8c483c5.zip Qt-b641daa11d579f58468be7f30042a100d8c483c5.tar.gz Qt-b641daa11d579f58468be7f30042a100d8c483c5.tar.bz2 |
Reduce the number of calls to QThread::idealThreadCount() in QtConcurrent.
This results in a syscall and is very slow. Make the call once and cache
the value.
Task-number: 244718
Reviewed-by: TrustMe
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions