InputSourceMutex.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_InputSourceMutex_h
2 #define art_Framework_Core_InputSourceMutex_h
3 // vim: set sw=2 expandtab :
4 
5 #include "hep_concurrency/RecursiveMutex.h"
6 
7 namespace art {
8 
10  public:
11  static hep::concurrency::RecursiveMutex* startup();
12  static void shutdown();
13 
14  ~InputSourceMutexSentry() noexcept;
18 
19  private:
21  static hep::concurrency::RecursiveMutex* inputSourceMutex_;
22  hep::concurrency::RecursiveMutexSentry sentry_;
23  };
24 
25 } // namespace art
26 
27 #endif /* art_Framework_Core_InputSourceMutex_h */
28 
29 // Local Variables:
30 // mode: c++
31 // End:
static hep::concurrency::RecursiveMutex * inputSourceMutex_
static hep::concurrency::RecursiveMutex * startup()
InputSourceMutexSentry & operator=(InputSourceMutexSentry const &)=delete
hep::concurrency::RecursiveMutexSentry sentry_