#include <GlobalTaskGroup.h>
|
| 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 () |
|
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.
5 :
threadControl_{tbb::global_control::max_allowed_parallelism, n_threads}
tbb::global_control threadControl_
tbb::global_control stackSizeControl_
void art::GlobalTaskGroup::may_run |
( |
hep::concurrency::WaitingTaskPtr |
task, |
|
|
std::exception_ptr |
ex_ptr = {} |
|
) |
| |
Definition at line 10 of file GlobalTaskGroup.cc.
13 if (task->decrement_done_count() == 0u) {
15 t->dependentTaskFailed(ex_ptr);
tbb::task_group& art::GlobalTaskGroup::native_group |
( |
| ) |
|
|
inline |
template<typename T >
void art::GlobalTaskGroup::run |
( |
T && |
t | ) |
|
|
inline |
tbb::task_group art::GlobalTaskGroup::group_ |
|
private |
tbb::global_control art::GlobalTaskGroup::stackSizeControl_ |
|
private |
tbb::global_control art::GlobalTaskGroup::threadControl_ |
|
private |
The documentation for this class was generated from the following files: