28 static std::shared_ptr<ROOT::Internal::RTaskArenaWrapper>
globalTaskArena;
45 static std::atomic_int count(0);
55 ::Warning(
"ROOT_TImplicitMT_EnableImplicitMT",
"Implicit multi-threading is already enabled");
65 ::Warning(
"ROOT_TImplicitMT_EnableImplicitMT_Config",
66 "Unknown enum value %d defaulting to EIMTCconfig::kWholeMachine", (
int)config);
71 ::Warning(
"ROOT_TImplicitMT_EnableImplicitMT_Config",
"Implicit multi-threading is already enabled");
81 ::Warning(
"ROOT_TImplicitMT_DisableImplicitMT",
"Implicit multi-threading is already disabled");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
bool ROOT_TImplicitMT_IsParBranchProcessingEnabled()
void ROOT_TImplicitMT_EnableImplicitMT_Config(ROOT::EIMTConfig config)
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.
@ kNumConfigs
Number of support IMT semantic configurations.