D15959: Wait for the extraction process to finish before scheduling

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sun Oct 7 00:20:57 BST 2018


bruns added a comment.


  I think the most trivial and completely correct way to fix this problem is to remove the `m_threadPool.activeThreadCount()` check from `scheduleIndexing()`. `QThreadPool::start(runnable)` puts the runnable in the run queue if there is still another thread running.

REPOSITORY
  R293 Baloo

REVISION DETAIL
  https://phabricator.kde.org/D15959

To: poboiko, #baloo, #frameworks
Cc: bruns, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181006/538d563a/attachment.html>


More information about the Kde-frameworks-devel mailing list