Skip to content

TaskManager waits for all threads in the ThreadPool #3704

@aleks-f

Description

@aleks-f

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();
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions