27 bool expected =
false;
38 : record_{iRecord}, context_{iContext} {}
39 ~EndGuard() { record_.activityRegistry()->postESModuleSignal_.emit(record_.key(), context_); }
std::atomic< bool > m_prefetching
void emit(Args &&... args) const
void add(oneapi::tbb::task_group *, WaitingTask *)
Adds task to the waiting list.
void doPrefetchAndSignals(edm::eventsetup::EventSetupRecordImpl const &, edm::eventsetup::DataKey const &iKey, edm::ESParentContext const &)
EventSetupRecordKey const & key() const
PreESModule preESModuleSignal_
bool needToPrefetch(edm::WaitingTaskHolder iTask)
edm::WaitingTaskList m_waitingList
ActivityRegistry const * activityRegistry() const noexcept