Special TBB task used by ThreadPoolSvc to wrap execution of IThreadInitTools.
More...
#include </builds/gaudi/Gaudi/GaudiHive/src/ThreadInitTask.h>
Special TBB task used by ThreadPoolSvc to wrap execution of IThreadInitTools.
- Author
- Charles Leggett
Definition at line 30 of file ThreadInitTask.h.
◆ ThreadInitTask()
◆ execFailed()
static bool ThreadInitTask::execFailed |
( |
| ) |
|
|
inlinestatic |
◆ operator()()
void ThreadInitTask::operator() |
( |
| ) |
const |
Execute the task.
Will loop over IThreadInitTools and execute each one.
Definition at line 28 of file ThreadInitTask.cpp.
47 if ( tools.retrieve().isFailure() ) {
52 if ( tools.empty() ) {
61 <<
" as it has not been initialized" <<
endmsg;
64 for (
auto&
t : tools ) {
78 <<
" threw GaudiException: " << exc <<
endmsg;
82 <<
" threw std::exception: " << exc.
what() <<
endmsg;
86 <<
" threw unknown exception" <<
endmsg;
92 tools.release().ignore();
◆ m_barrier
boost::barrier* ThreadInitTask::m_barrier = nullptr |
|
private |
◆ m_execFailed
◆ m_serviceLocator
◆ m_terminate
bool ThreadInitTask::m_terminate = false |
|
private |
◆ m_tools
The documentation for this class was generated from the following files: