template<class T>
class ROOT::TThreadedObject< T >
A wrapper to make object instances thread private, lazily.
- Template Parameters
-
T | Class of the object to be made thread private (e.g. TH1F) |
A wrapper which makes objects thread private. The methods of the underlying object can be invoked via the the arrow operator. The object is created in a specific thread lazily, i.e. upon invocation of one of its methods. The correct object pointer from within a particular thread can be accessed with the overloaded arrow operator or with the Get method. In case an elaborate thread management is in place, e.g. in presence of stream of operations or "processing slots", it is also possible to manually select the correct object pointer explicitly. The default size of the threaded objects is 64. This size can be extended manually via the fgMaxSlots parameter. The size of individual instances is automatically extended if the size of the implicit MT pool is bigger than 64.
Definition at line 153 of file TThreadedObject.hxx.