Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/Utilities/tbbWrap.hpp>
Public Member Functions | |
task_arena (int nthreads=tbb::task_arena::automatic, unsigned ACTS_EXAMPLES_WITH_TBB(res)=1) | |
template<typename F > | |
void | execute (const F &f) |
Private Attributes | |
std::optional< tbb::task_arena > | tbb |
Small wrapper for tbb::task_arena. Note that the tbbWrap::task_arena constructor is not thread-safe. That should be fine because the task_arena is initialised before spawning any threads.
Definition at line 91 of file tbbWrap.hpp.
View newest version in sPHENIX GitHub at line 91 of file tbbWrap.hpp
|
inline |
Definition at line 97 of file tbbWrap.hpp.
View newest version in sPHENIX GitHub at line 97 of file tbbWrap.hpp
References ActsExamples::tbbWrap::enableTBB(), and tbb.
|
inline |
Definition at line 107 of file tbbWrap.hpp.
View newest version in sPHENIX GitHub at line 107 of file tbbWrap.hpp
Referenced by ActsExamples::Sequencer::run().
|
private |
Definition at line 93 of file tbbWrap.hpp.
View newest version in sPHENIX GitHub at line 93 of file tbbWrap.hpp
Referenced by execute(), and task_arena().