CMS 3D CMS Logo

ESSourceProductResolverNonConcurrentBase.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: FWCore/Framework
4 // Class : __class__
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: __author__
10 // Created: __date__
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 //
19 // member functions
20 //
21 
25  edm::eventsetup::DataKey const& iKey,
26  edm::EventSetupImpl const*,
27  edm::ServiceToken const&,
28  edm::ESParentContext const& iParent) {
29  prefetchAsyncImplTemplate([this](auto& iGroup, auto iActivity) { m_queue->push(iGroup, std::move(iActivity)); },
30  [mutex = m_mutex]() { return std::lock_guard<std::mutex>(*mutex); },
31  std::move(iTask),
32  iRecord,
33  iKey,
34  iParent);
35 }
void push(oneapi::tbb::task_group &, const T &iAction)
asynchronously pushes functor iAction into queue
void prefetchAsyncImplTemplate(ASYNC iAsync, GUARD iGuardFactory, edm::WaitingTaskHolder iTask, edm::eventsetup::EventSetupRecordImpl const &iRecord, edm::eventsetup::DataKey const &iKey, edm::ESParentContext const &iContext)
void prefetchAsyncImpl(edm::WaitingTaskHolder iTask, edm::eventsetup::EventSetupRecordImpl const &iES, edm::eventsetup::DataKey const &iKey, edm::EventSetupImpl const *, edm::ServiceToken const &, edm::ESParentContext const &) final
def move(src, dest)
Definition: eostools.py:511