| 861 | } |
| 862 | |
| 863 | void BackgroundParser::setThreadCount(int threadCount) |
| 864 | { |
| 865 | Q_D(BackgroundParser); |
| 866 | |
| 867 | if (d->m_threads != threadCount) { |
| 868 | d->m_threads = threadCount; |
| 869 | d->m_weaver.setMaximumNumberOfThreads(d->m_threads + 1); //1 Additional thread for high-priority parsing |
| 870 | } |
| 871 | } |
| 872 | |
| 873 | int BackgroundParser::threadCount() const |
| 874 | { |
no outgoing calls