69 virtual void Initialize(uint64_t
n = std::thread::hardware_concurrency());
virtual int GetNumberOfThreads() const
TaskManager * m_task_manager
static TaskRunManager * GetMasterRunManager(bool useTBB=false)
bool IsInitialized() const
virtual void Initialize(uint64_t n=std::thread::hardware_concurrency())
TaskManager * GetTaskManager() const
ThreadPool * m_thread_pool
TaskRunManager(bool useTBB=false)
static pointer & GetPrivateMasterRunManager(bool init, bool useTBB=false)
VUserTaskQueue * m_task_queue
virtual size_t GetNumberActiveThreads() const
static TaskRunManager * GetInstance(bool useTBB=false)
ThreadPool * GetThreadPool() const
virtual ~TaskRunManager()=default