Definition at line 53 of file TPoolManager.hxx.
#include <ROOT/TPoolManager.hxx>
◆ ~TPoolManager()
ROOT::Internal::TPoolManager::~TPoolManager |
( |
| ) |
|
◆ TPoolManager()
ROOT::Internal::TPoolManager::TPoolManager |
( |
UInt_t |
nThreads = 0 | ) |
|
|
private |
Initializes the scheduler within ROOT.
If the scheduler has already been initialized by the user before invoking the constructor it won't change its behaviour and it won't terminate it, but it will still keep record of the number of threads passed as a parameter.
Definition at line 20 of file TPoolManager.cxx.
◆ GetPoolSize()
UInt_t ROOT::Internal::TPoolManager::GetPoolSize |
( |
| ) |
|
|
static |
Returns the number of threads running when the scheduler has been instantiated within ROOT.
Definition at line 43 of file TPoolManager.cxx.
◆ GetPoolManager
Get a shared pointer to the manager.
Initialize the manager with nThreads if not active. If active, the number of threads, even if specified otherwise, will remain the same.
The number of threads will be able to change calling the factory function again after the last remaining shared_ptr owning the object is destroyed or reasigned, which will trigger the destructor of the manager.
Definition at line 49 of file TPoolManager.cxx.
◆ fgPoolSize
UInt_t ROOT::Internal::TPoolManager::fgPoolSize = 0 |
|
staticprivate |
◆ fSched
tbb::task_scheduler_init* ROOT::Internal::TPoolManager::fSched = nullptr |
|
private |
◆ mustDelete
bool ROOT::Internal::TPoolManager::mustDelete = true |
|
private |
The documentation for this class was generated from the following files: