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

Classes

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

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Internal
 

Macros

#define gROOT   (ROOT::GetROOT())
 

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::Internal::DisableParBranchProcessing ()
 Globally disables the IMT use case of parallel branch processing, deactivating the corresponding locks.
 
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::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_t ROOT::Internal::RequiresCleanup (TObject &obj)
 
void ROOT::Internal::SetRequireCleanup (TObject &obj)
 

Variables

R__EXTERN TROOTROOT::Internal::gROOTLocal = ROOT::GetROOT()
 
R__EXTERN TVirtualMutexgROOTMutex
 

Macro Definition Documentation

◆ gROOT

#define gROOT   (ROOT::GetROOT())

Definition at line 405 of file TROOT.h.

Variable Documentation

◆ gROOTMutex

R__EXTERN TVirtualMutex* gROOTMutex

Definition at line 63 of file TROOT.h.