commit | 9794b72d38d4aadef352d3ae80d7dee2fbfcb7fb | [log] [tgz] |
---|---|---|
author | Sebastian Holtermann <sebholt@xwmw.org> | Sun Apr 21 11:14:11 2019 +0200 |
committer | Sebastian Holtermann <sebholt@xwmw.org> | Wed Apr 24 12:32:58 2019 +0200 |
tree | 4c6a60839c7b651038efdfbfd6bf889f69a60c8f | |
parent | 993dfa89d8f49e06d44e86c97502a5d7630f3dcf [diff] |
cmWorkerPool: Set worker thread count separately to Process() Don't pass the desired worker thread count to the `cmWorkerPool::Process()` method but set it separately with the new `cmWorkerPool::SetThreadCount` method. This allows calling `cmWorkerPool::Process()` repeatedly without having to pass the thread count every time.