TaskManager uses either the global or user-supplied external ThreadPool. TaskManager::joinAll() calls the ThreadPool::joinAll(), which means it will have to wait for all threads, including the ones not running the managed tasks, to complete execution.
|
void TaskManager::joinAll() |
|
{ |
|
_threadPool.joinAll(); |
|
} |