66 virtual void Initialize(uint64_t n = std::thread::hardware_concurrency());
80 static pointer& GetPrivateMasterRunManager();
81 static pointer& GetPrivateMasterRunManager(
bool init,
bool useTBB =
false);
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)
VUserTaskQueue * m_task_queue
virtual size_t GetNumberActiveThreads() const
static TaskRunManager * GetInstance(bool useTBB=false)
ThreadPool * GetThreadPool() const
virtual ~TaskRunManager()