Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TROOT.h File Reference
#include "TDirectory.h"
#include <atomic>
#include <string>
#include <vector>
#include <utility>

Classes

class  ROOT::Internal::TParBranchProcessingRAII
class  TROOT
 ROOT top level object description. More...

Namespaces

namespace  ROOT
namespace  ROOT::Experimental
 Namespace for ROOT features in testing.
namespace  ROOT::Internal

Macros

#define gROOT   (ROOT::GetROOT())

Enumerations

enum class  ROOT::EIMTConfig { ROOT::kWholeMachine = 0 , ROOT::kExistingTBBArena = 1 , ROOT::kNumConfigs = 2 }

Functions

void ROOT::CallRecursiveRemoveIfNeeded (TObject &obj)
 call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.
void ROOT::DisableImplicitMT ()
 Disables the implicit multi-threading in ROOT (see EnableImplicitMT).
void ROOT::Experimental::DisableObjectAutoRegistration ()
 Disable automatic registration of objects for the current thread (ROOT 7 default).
void ROOT::Internal::DisableParBranchProcessing ()
 Globally disables the IMT use case of parallel branch processing, deactivating the corresponding locks.
void ROOT::EnableImplicitMT (ROOT::EIMTConfig config)
 Enable ROOT's implicit multi-threading for all objects and methods that provide an internal parallelisation mechanism.
void ROOT::EnableImplicitMT (UInt_t numthreads=0)
 Enable ROOT's implicit multi-threading for all objects and methods that provide an internal parallelisation mechanism.
void ROOT::Experimental::EnableObjectAutoRegistration ()
 Enable automatic registration of objects for the current thread (ROOT 6 default).
void ROOT::Internal::EnableParBranchProcessing ()
 Globally enables the parallel branch processing, which is a case of implicit multi-threading (IMT) in ROOT, activating the required locks.
void ROOT::EnableThreadSafety ()
 Enable support for multi-threading within the ROOT code in particular, enables the global mutex to make ROOT thread safe/aware.
TROOTROOT::GetROOT ()
TROOTROOT::Internal::GetROOT2 ()
UInt_t ROOT::GetThreadPoolSize ()
 Returns the size of ROOT's thread pool.
Bool_t ROOT::IsImplicitMTEnabled ()
 Returns true if the implicit multi-threading in ROOT is enabled.
Bool_t ROOT::Internal::IsParBranchProcessingEnabled ()
 Returns true if parallel branch processing is enabled.
bool ROOT::Experimental::ObjectAutoRegistrationEnabled ()
 Test whether objects in this thread auto-register themselves, e.g.
Bool_t ROOT::Internal::RequiresCleanup (TObject &obj)
void ROOT::Internal::SetRequireCleanup (TObject &obj)

Variables

externTROOT * ROOT::Internal::gROOTLocal = ROOT::GetROOT()
externTVirtualMutex * gROOTMutex

Macro Definition Documentation

◆ gROOT

#define gROOT   (ROOT::GetROOT())

Definition at line 417 of file TROOT.h.

Variable Documentation

◆ gROOTMutex

externTVirtualMutex* gROOTMutex

Definition at line 63 of file TROOT.h.