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);
std::exception_ptr exceptionPtr() const noexcept
Returns exception thrown by dependent task.
WaitingTask() noexcept
Constructor.
std::exception_ptr const & uncheckedExceptionPtr() const noexcept
std::atomic< unsigned char > m_ptrSet
FunctorWaitingTask< F > * make_waiting_task(F f)
~WaitingTask() noexcept override
void dependentTaskFailed(std::exception_ptr iPtr) noexcept
Called if waited for task failed.
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)