1 #ifndef FWCore_Concurrency_ThreadsController_h 2 #define FWCore_Concurrency_ThreadsController_h 22 #include "oneapi/tbb/global_control.h" 23 #include "oneapi/tbb/task_arena.h" 37 :
m_nThreads{oneapi::tbb::global_control::max_allowed_parallelism, iNThreads},
44 static std::unique_ptr<oneapi::tbb::global_control>
makeStackSize(
size_t iStackSize);
std::unique_ptr< oneapi::tbb::global_control > m_stackSize
ThreadsController(unsigned int iNThreads)
ThreadsController()=delete
oneapi::tbb::global_control m_nThreads
void setStackSize(size_t iStackSize)
ThreadsController(unsigned int iNThreads, size_t iStackSize)
static std::unique_ptr< oneapi::tbb::global_control > makeStackSize(size_t iStackSize)