CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SharedResourcesAcquirer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Subsystem/Package
4 // Class : SharedResourcesAcquirer
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Sun, 06 Oct 2013 19:43:28 GMT
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 
19 namespace edm {
21  for(auto m : m_resources) {
22  m->lock();
23  }
24  }
25 
27  for(auto it = m_resources.rbegin(), itEnd = m_resources.rend();
28  it != itEnd; ++it) {
29  (*it)->unlock();
30  }
31  }
32 }
std::vector< std::recursive_mutex * > m_resources