27 static std::shared_ptr<ROOT::Internal::RTaskArenaWrapper> globalTaskArena;
28 return globalTaskArena;
38 static bool enabled =
false;
44 static std::atomic_int count(0);
54 ::Warning(
"ROOT_TImplicitMT_EnableImplicitMT",
"Implicit multi-threading is already enabled");
64 ::Warning(
"ROOT_TImplicitMT_DisableImplicitMT",
"Implicit multi-threading is already disabled");
void Warning(const char *location, const char *msgfmt,...)
bool ROOT_TImplicitMT_IsParBranchProcessingEnabled()
static std::atomic_int & GetParBranchProcessingCount()
void ROOT_TImplicitMT_DisableParBranchProcessing()
static bool & GetImplicitMTFlag()
void ROOT_TImplicitMT_EnableImplicitMT(UInt_t numthreads)
void ROOT_TImplicitMT_DisableImplicitMT()
static std::shared_ptr< ROOT::Internal::RTaskArenaWrapper > & R__GetTaskArena4IMT()
void ROOT_TImplicitMT_EnableParBranchProcessing()
UInt_t ROOT_MT_GetThreadPoolSize()
static unsigned TaskArenaSize()
std::shared_ptr< ROOT::Internal::RTaskArenaWrapper > GetGlobalTaskArena(unsigned maxConcurrency=0)
Factory function returning a shared pointer to the instance of the global RTaskArenaWrapper.