|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59807 - sandbox/stm/branches/vbe/boost/stm/detail
From: vicente.botet_at_[hidden]
Date: 2010-02-21 08:32:42
Author: viboes
Date: 2010-02-21 08:32:41 EST (Sun, 21 Feb 2010)
New Revision: 59807
URL: http://svn.boost.org/trac/boost/changeset/59807
Log:
Boost.STM/vbe:
* BUG: On transaction destruction the transaction is not removed from the transactionsInFlight_ when state_ == e_in_flight, i.e. when a exception is thrown.
Text files modified:
sandbox/stm/branches/vbe/boost/stm/detail/transaction_impl.hpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Modified: sandbox/stm/branches/vbe/boost/stm/detail/transaction_impl.hpp
==============================================================================
--- sandbox/stm/branches/vbe/boost/stm/detail/transaction_impl.hpp (original)
+++ sandbox/stm/branches/vbe/boost/stm/detail/transaction_impl.hpp 2010-02-21 08:32:41 EST (Sun, 21 Feb 2010)
@@ -687,6 +687,7 @@
synchro::lock_guard<Mutex> lock(*mutex());
abort();
}
+ transactionsInFlight_.erase(this);
transactions().pop();
}
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