Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59828 - sandbox/transaction/boost/transact
From: strasser_at_[hidden]
Date: 2010-02-21 17:13:27


Author: stefans
Date: 2010-02-21 17:13:27 EST (Sun, 21 Feb 2010)
New Revision: 59828
URL: http://svn.boost.org/trac/boost/changeset/59828

Log:
 - transaction restart instead of reconstruction
 - enforce single statement between begin_transaction and end_transaction
 - allow control statements in retry{} clause
Text files modified:
   sandbox/transaction/boost/transact/basic_transaction.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/transaction/boost/transact/basic_transaction.hpp
==============================================================================
--- sandbox/transaction/boost/transact/basic_transaction.hpp (original)
+++ sandbox/transaction/boost/transact/basic_transaction.hpp 2010-02-21 17:13:27 EST (Sun, 21 Feb 2010)
@@ -185,7 +185,7 @@
                                 }while((___control=2),false); \
                         } \
                         BOOST_ASSERT(___control == 0); \
- ___tx.restart();
+ ___tx.restart(); \
                 }; \
                 BOOST_ASSERT(___control == 0); \
         }void()
@@ -195,8 +195,8 @@
                                         break; \
                                 }while((___control=2),false); \
                         } \
- if(___control != 0) break; }
- ___tx.restart();
+ if(___control != 0) break; \
+ ___tx.restart(); \
                 }; \
                 if(___control != 0){ \
                         if(___control==1) break; \


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