/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWCore/Framework/src/stream/ProducingModuleHelper.cc
20 строк
641 B
Matti Kortelainen
Use WaitingTaskHolder to signal doneWaiting() instead of WaitingTaskWithArenalHolder in framework
08 янв 2025, 22:50
08 янв 2025, 22:50
e77e887
Код
Авторство
О чём код?
// -*- C++ -*- // // Package: FWCore/Framework // // Original Author: W. David Dagenhart // Created: 1 December 2017 #include "FWCore/Framework/interface/stream/ProducingModuleHelper.h" #include "FWCore/Framework/interface/stream/implementors.h" namespace edm { namespace stream { void doAcquireIfNeeded(impl::ExternalWork* base, Event const& ev, EventSetup const& es, WaitingTaskHolder&& holder) { base->acquire(ev, es, WaitingTaskWithArenaHolder(std::move(holder))); } void doAcquireIfNeeded(void*, Event const&, EventSetup const&, WaitingTaskHolder&&) {} } // namespace stream } // namespace edm