12 #ifndef ROOT_TProcessID 13 #define ROOT_TProcessID 28 #ifndef ROOT_TObjArray 33 #include <type_traits> 54 static_assert(std::is_pointer<T>::value,
"Only pointer types supported");
93 virtual void Clear(
Option_t *option=
"");
94 Int_t DecrementCount();
95 Int_t IncrementCount();
100 virtual void RecursiveRemove(
TObject *obj);
104 static void Cleanup();
105 static UInt_t GetNProcessIDs();
112 static UInt_t GetObjectCount();
114 static void SetObjectCount(
UInt_t number);
ROOT::Internal::TAtomicPointer< TObjArray * > fObjects
Reference count to this object (from TFile)
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
static TObjArray * fgPIDs
#define ClassDef(name, id)
static TProcessID * fgPID
Spin lock for initialization of fObjects.
The TNamed class is the base class for all named ROOT classes.
A TProcessID identifies a ROOT job in a unique way in time and space.
Helper class to manage atomic pointers.
TObjArray * GetObjects() const
std::atomic_flag fLock
Array pointing to the referenced objects.
static TExMap * fgObjPIDs
Mother of all ROOT objects.
This class stores a (key,value) pair using an external hash.