CMS 3D CMS Logo

ESSourceProductResolverNonConcurrentBase.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_ESSourceProductResolverNonConcurrentBase_h
2 #define FWCore_Framework_ESSourceProductResolverNonConcurrentBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : ESSourceProductResolverNonConcurrentBase
7 //
21 //
22 // Original Author: Chris Jones
23 // Created: 14/05/2020
24 //
25 
26 // system include files
27 #include <mutex>
28 
29 // user include files
32 
33 // forward declarations
34 
35 namespace edm::eventsetup {
37  public:
39  : m_queue(iQueue), m_mutex(iMutex) {}
40 
41  edm::SerialTaskQueue* queue() const { return m_queue; }
42  std::mutex* mutex() const { return m_mutex; }
43 
44  private:
47  edm::eventsetup::DataKey const& iKey,
48  edm::EventSetupImpl const*,
49  edm::ServiceToken const&,
50  edm::ESParentContext const&) final;
51 
52  // ---------- member data --------------------------------
53 
56  };
57 } // namespace edm::eventsetup
58 #endif
static std::mutex mutex
Definition: Proxy.cc:8
ESSourceProductResolverNonConcurrentBase(edm::SerialTaskQueue *iQueue, std::mutex *iMutex)
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