66 virtual void Initialize(uint64_t n = std::thread::hardware_concurrency());
78 static pointer& GetPrivateMasterRunManager();
79 static pointer& GetPrivateMasterRunManager(
bool init,
bool useTBB =
false);
virtual ~TaskRunManager()
virtual int GetNumberOfThreads() const
TaskManager * m_task_manager
TaskRunManager(bool useTBB=false)
static TaskRunManager * GetMasterRunManager(bool useTBB=false)
bool IsInitialized() const
TaskManager * GetTaskManager() const
virtual void Initialize(uint64_t n=std::thread::hardware_concurrency())
static TaskRunManager * GetInstance(bool useTBB=false)
ThreadPool * m_thread_pool
VUserTaskQueue * m_task_queue
virtual size_t GetNumberActiveThreads() const
ThreadPool * GetThreadPool() const
Backports of C++ language features for use with C++11 compilers.