14 #include <fmt/format.h> 33 bool expected =
false;
46 : record_{iRecord}, context_{iContext} {}
47 ~EndGuard() { record_.activityRegistry()->postESModuleSignal_.emit(record_.key(), context_); }
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
void doPrefetchAndSignals(edm::eventsetup::EventSetupRecordImpl const &, edm::eventsetup::DataKey const &iKey, edm::ESParentContext const &)
void emit(Args &&... args) const
char const * name() const
std::atomic< bool > m_prefetching
void add(oneapi::tbb::task_group *, WaitingTask *)
Adds task to the waiting list.
const TypeTag & type() const
edm::WaitingTaskList m_waitingList
EventSetupRecordKey const & key() const
void addContext(std::string const &context)
PreESModule preESModuleSignal_
auto wrap(F iFunc) -> decltype(iFunc())
const NameTag & name() const
const char * name() const
ActivityRegistry const * activityRegistry() const noexcept
bool needToPrefetch(edm::WaitingTaskHolder iTask)
const char * value() const