28 static std::shared_ptr<ROOT::Internal::TPoolManager> schedMT;
34 static bool enabled =
false;
40 static std::atomic_int count(0);
46 static std::atomic_int count(0);
59 ::Warning(
"ROOT_TImplicitMT_EnableImplicitMT",
"Implicit multi-threading is already enabled");
69 ::Warning(
"ROOT_TImplicitMT_DisableImplicitMT",
"Implicit multi-threading is already disabled");
void Warning(const char *location, const char *msgfmt,...)
UInt_t ROOT_TImplicitMT_GetImplicitMTPoolSize()
bool ROOT_TImplicitMT_IsParBranchProcessingEnabled()
bool ROOT_TImplicitMT_IsParTreeProcessingEnabled()
static std::atomic_int & GetParBranchProcessingCount()
void ROOT_TImplicitMT_DisableParBranchProcessing()
static bool & GetImplicitMTFlag()
static std::atomic_int & GetParTreeProcessingCount()
void ROOT_TImplicitMT_EnableParTreeProcessing()
void ROOT_TImplicitMT_DisableParTreeProcessing()
void ROOT_TImplicitMT_EnableImplicitMT(UInt_t numthreads)
static std::shared_ptr< ROOT::Internal::TPoolManager > & R__GetPoolManagerMT()
void ROOT_TImplicitMT_DisableImplicitMT()
void ROOT_TImplicitMT_EnableParBranchProcessing()
static UInt_t GetPoolSize()
Returns the number of threads running when the scheduler has been instantiated within ROOT.
static void Initialize()
Initialize the Thread package.
std::shared_ptr< TPoolManager > GetPoolManager(UInt_t nThreads=0)
Get a shared pointer to the manager.