1 #ifndef FWCore_Concurrency_WaitingTask_h 2 #define FWCore_Concurrency_WaitingTask_h 34 class WaitingTaskWithArenaHolder;
55 return std::exception_ptr{};
69 unsigned char isSet =
static_cast<unsigned char>(
State::kUnset);
void dependentTaskFailed(std::exception_ptr iPtr)
Called if waited for task failed.
std::exception_ptr exceptionPtr() const
Returns exception thrown by dependent task.
std::atomic< unsigned char > m_ptrSet
FunctorWaitingTask< F > * make_waiting_task(F f)
WaitingTask()
Constructor.
std::exception_ptr const & uncheckedExceptionPtr() const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)