Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56655 - sandbox/stm/boost/stm
From: justin_at_[hidden]
Date: 2009-10-08 14:15:59


Author: jgottschlich
Date: 2009-10-08 14:15:58 EDT (Thu, 08 Oct 2009)
New Revision: 56655
URL: http://svn.boost.org/trac/boost/changeset/56655

Log:
Added new interface for contention manager to check a list of transactions with conflicts against a
committing one.

Text files modified:
   sandbox/stm/boost/stm/base_transaction.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: sandbox/stm/boost/stm/base_transaction.hpp
==============================================================================
--- sandbox/stm/boost/stm/base_transaction.hpp (original)
+++ sandbox/stm/boost/stm/base_transaction.hpp 2009-10-08 14:15:58 EDT (Thu, 08 Oct 2009)
@@ -374,6 +374,10 @@
    virtual bool permission_to_abort
       (boost::stm::transaction const &lhs, boost::stm::transaction const &rhs) = 0;
 
+ virtual bool permission_to_abort
+ (boost::stm::transaction const &lhs, std::list<boost::stm::transaction*> &rhs)
+ { return true; }
+
    virtual bool allow_lock_to_abort_tx(int const & lockWaitTime, int const &lockAborted,
       bool txIsIrrevocable, boost::stm::transaction const &rhs) = 0;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk