File indexing completed on 2024-04-06 12:12:45
0001 #ifndef FWCore_MessageLogger_ConfigurationHandshake_h
0002 #define FWCore_MessageLogger_ConfigurationHandshake_h
0003
0004 #include "FWCore/Utilities/interface/EDMException.h"
0005
0006 #include <condition_variable>
0007 #include <mutex>
0008
0009 namespace edm {
0010 class ParameterSet;
0011
0012 typedef std::shared_ptr<edm::Exception> Pointer_to_new_exception_on_heap;
0013 typedef std::shared_ptr<Pointer_to_new_exception_on_heap> Place_for_passing_exception_ptr;
0014
0015 struct ConfigurationHandshake {
0016 void* p;
0017 std::mutex m;
0018 std::condition_variable c;
0019 edm::Place_for_passing_exception_ptr epp;
0020 explicit ConfigurationHandshake(void* p_in, Place_for_passing_exception_ptr epp_in)
0021 : p(p_in), m(), c(), epp(epp_in) {}
0022 };
0023 }
0024 #endif