Пример #1
0
void ExceptAndBackOffOnAbortNoticeCM::abort_on_write
(transaction &t, base_transaction_object const &in)
{
   //SLEEP(initialSleepTime_);
   t.lock_and_abort();
   throw aborted_transaction_exception("aborting transaction");
}
Пример #2
0
void DefaultContentionManager::abort_on_write
(transaction &t, base_transaction_object const &in)
{
   t.lock_and_abort();
   throw aborted_transaction_exception("aborting transaction");
}