
----- Original Message ----- From: <strasser@uni-bremen.de> To: <boost@lists.boost.org> Sent: Friday, February 12, 2010 4:18 PM Subject: Re: [boost] [transact] code in sandbox
I guess the only way to achieve that is 2 seperate sets of macros.
let me know what kind of support from RMs/TMs/transactions you need for these macros.
Hi, here they are some of operations I need TM::transaction void commit(); void rollback(); | void abort(); void rollback_only(); | void force_to_abort(); void restart(); bool is_top_level(); transaction_state status(); where enum transaction_state { active, marked_roolback_only, | forced_to_abort prepared, committed, rolledback, preparing, committing, rollingback ... }; or bool active(); bool marked_roolback_only() bool prepared() bool commited(); ... Best, Vicente