stldb::exclusive_transaction
// In header: </Users/bobw/workspace/stldb_lib/stldb/transaction.h> class exclusive_transaction : public stldb::Transaction { public: // construct/copy/destruct exclusive_transaction(); exclusive_transaction(const exclusive_transaction &); exclusive_transaction& operator=(const exclusive_transaction &); ~exclusive_transaction(); // private member functions void lock_database(boost::interprocess::interprocess_upgradable_mutex &) ; void unlock_database() ; };
An exclusive transaction is a transaction, but the database guarantees that only one transaction of this type can be in progress at any one time.
exclusive_transaction
public
construct/copy/destructexclusive_transaction();
exclusive_transaction(const exclusive_transaction & t);
exclusive_transaction& operator=(const exclusive_transaction & t);
~exclusive_transaction();