LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GlobalTaskGroup.h"
Public Member Functions | |
GlobalTaskGroup (unsigned n_threads, unsigned stack_size) | |
template<typename T > | |
void | run (T &&t) |
void | may_run (hep::concurrency::WaitingTaskPtr task, std::exception_ptr ex_ptr={}) |
tbb::task_group & | native_group () |
Private Attributes | |
tbb::global_control | threadControl_ |
tbb::global_control | stackSizeControl_ |
tbb::task_group | group_ |
Definition at line 11 of file GlobalTaskGroup.h.
art::GlobalTaskGroup::GlobalTaskGroup | ( | unsigned | n_threads, |
unsigned | stack_size | ||
) |
Definition at line 3 of file GlobalTaskGroup.cc.
References stackSizeControl_.
void art::GlobalTaskGroup::may_run | ( | hep::concurrency::WaitingTaskPtr | task, |
std::exception_ptr | ex_ptr = {} |
||
) |
Definition at line 10 of file GlobalTaskGroup.cc.
References group_.
Referenced by art::WorkerInPath::WorkerInPathDoneTask::operator()(), art::TriggerPathsExecutor::PathsDoneTask::operator()(), art::EndPathExecutor::PathsDoneTask::operator()(), art::TriggerPathsExecutor::process_event(), art::EndPathExecutor::process_event(), and run().
|
inline |
Definition at line 27 of file GlobalTaskGroup.h.
References group_.
Referenced by art::PathManager::createModulesAndWorkers(), and art::PathManager::fillWorkers_().
|
inline |
|
private |
Definition at line 35 of file GlobalTaskGroup.h.
Referenced by may_run(), native_group(), and run().
|
private |
Definition at line 34 of file GlobalTaskGroup.h.
Referenced by GlobalTaskGroup().
|
private |
Definition at line 33 of file GlobalTaskGroup.h.