1 #ifndef FWCore_Concurrency_WaitingTaskHolder_h 2 #define FWCore_Concurrency_WaitingTaskHolder_h 39 {
m_task->increment_ref_count();}
48 m_task->increment_ref_count();
53 iOther.m_task =
nullptr;
84 if(0==
m_task->decrement_ref_count()){
void presetTaskAsFailed(std::exception_ptr iExcept)
WaitingTaskHolder & operator=(const WaitingTaskHolder &iRHS)
WaitingTaskHolder(WaitingTaskHolder &&iOther)
void dependentTaskFailed(std::exception_ptr iPtr)
Called if waited for task failed.
void doneWaiting(std::exception_ptr iExcept)
bool taskHasFailed() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
WaitingTaskHolder(const WaitingTaskHolder &iHolder)
std::vector< std::vector< double > > tmp
WaitingTaskHolder(edm::WaitingTask *iTask)
std::exception_ptr const * exceptionPtr() const
Returns exception thrown by dependent task.