1 #ifndef FWCore_Concurrency_WaitingTaskWithArenaHolder_h 2 #define FWCore_Concurrency_WaitingTaskWithArenaHolder_h 25 #include "oneapi/tbb/task_arena.h" 26 #include "oneapi/tbb/task_group.h" 95 std::shared_ptr<oneapi::tbb::task_arena>
m_arena;
104 holder.doneWaiting(std::current_exception());
109 template <
typename F>
114 holder.doneWaiting(*excptr);
oneapi::tbb::task_group * m_group
WaitingTaskWithArenaHolder & operator=(const WaitingTaskWithArenaHolder &iRHS)
bool taskHasFailed() const noexcept
std::shared_ptr< oneapi::tbb::task_arena > m_arena
~WaitingTaskWithArenaHolder()
bool hasTask() const noexcept
void doneWaiting(std::exception_ptr iExcept)
oneapi::tbb::task_group * group() const
WaitingTaskWithArenaHolder()
FunctorWaitingTask< F > * make_waiting_task(F f)
WaitingTaskHolder makeWaitingTaskHolderAndRelease()
auto make_lambda_with_holder(WaitingTaskWithArenaHolder h, F &&f)
void presetTaskAsFailed(std::exception_ptr iExcept) noexcept
auto make_waiting_task_with_holder(WaitingTaskWithArenaHolder h, F &&f)
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.