CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DbOpenTransaction.cc
Go to the documentation of this file.
1 // local includes
4 
6  m_transaction(transaction),m_status(false){
7 }
8 
9 #include <iostream>
11  if(!m_status && m_transaction.isActive() ) {
12  m_transaction.rollback();
13  }
14 }
15 
17 {
18  m_status = true;
19 }
20 
DbOpenTransaction(cond::DbTransaction &transaction)
volatile std::atomic< bool > shutdown_flag false