Boost logo

Boost :

Subject: Re: [boost] [transact] code in sandbox
From: Bob Walters (bob.s.walters_at_[hidden])
Date: 2010-02-17 11:53:47


On Wed, Feb 17, 2010 at 2:52 AM, vicente.botet <vicente.botet_at_[hidden]> wrote:
>>
>> On Sun, Feb 14, 2010 at 6:53 PM, vicente.botet <vicente.botet_at_[hidden]> wrote:
>>> Hi, here they are some of operations I need
>>>
>>> void rollback(); | void abort();
>>> void rollback_only(); | void force_to_abort();
>>
>> Can you clarify the difference between these two?
>
> The "|" marks alternative names, i.e. two proposals.

I meant can you clarify the difference between rollback() and rollback_only().

> marked_rollback_only or forced_to_abort seems to me a unseful information for the user.

That makes sense. I think I recall a concept like this in
Boost.Persistent - this is for the case where the user marks a
transaction
as 'uncomittable' to make sure code elsewhere can only try to
rollback, and never commit. (Correct?) I can agree to support this.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk