#include <WaitingTask.h>
Public Member Functions | |
bool | done () const |
void | execute () final |
FinalWaitingTask () | |
Public Member Functions inherited from edm::WaitingTask | |
std::exception_ptr const * | exceptionPtr () const |
Returns exception thrown by dependent task. More... | |
WaitingTask () | |
Constructor. More... | |
~WaitingTask () override | |
Public Member Functions inherited from edm::TaskBase | |
unsigned int | decrement_ref_count () |
void | increment_ref_count () |
TaskBase () | |
Constructor. More... | |
virtual | ~TaskBase ()=default |
Private Member Functions | |
void | recycle () final |
Private Attributes | |
std::atomic< bool > | m_done |
Use this class on the stack to signal the final task to be run. Call done() to check to see if the task was run and check value of exceptionPtr() to see if an exception was thrown by any task in the group.
Definition at line 76 of file WaitingTask.h.
|
inline |
Definition at line 78 of file WaitingTask.h.
|
inline |
Definition at line 82 of file WaitingTask.h.
References m_done.
Referenced by edm::test::TestProcessor::beginLuminosityBlock(), edm::EventProcessor::beginProcessBlock(), edm::test::TestProcessor::beginProcessBlock(), edm::EventProcessor::beginRun(), edm::test::TestProcessor::beginRun(), edm::test::TestProcessor::endLuminosityBlock(), edm::EventProcessor::endProcessBlock(), edm::test::TestProcessor::endProcessBlock(), edm::EventProcessor::endRun(), edm::test::TestProcessor::endRun(), edm::EventProcessor::endUnfinishedLumi(), edm::test::TestProcessor::event(), edm::EventProcessor::inputProcessBlocks(), edm::EventProcessor::processLumis(), edm::eventsetup::synchronousEventSetupForInstance(), and edm::eventsetup::SynchronousEventSetupsController::~SynchronousEventSetupsController().
|
inlinefinalvirtual |
|
inlinefinalprivatevirtual |
|
private |
Definition at line 86 of file WaitingTask.h.