I am doing a final year project at university. I am building a hybrid
STM which uses existing lock inferencing work and your STM.
I was wondering if you could point me any documentation of the main
parts of the Deuce Api. So far all I have knowledge of is @Atomic. Can
I do things like roll back or abort transactions in my code? I need to
do things like keep track of the number roll backs etc. (one way I
have found to do this is by adding a catch block around the code in
question and catch the TransactionExceptions thrown).
Thanks,
Richard
--
You received this message because you are subscribed to the Google Groups "Deuce-STM developers" group.
To post to this group, send email to deuce-stm-...@googlegroups.com.
To unsubscribe from this group, send email to deuce-stm-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/deuce-stm-developers?hl=en.
Best,
Mihai
Guy Korland wrote:
> Currently Deuce doesn't support Abort but only Retry as you notice.
> I'm planning to add it in the next version (1.3) which is expected in
> less than a week.
> You can hack the code if you want check out
> org.deuce.transform.asm.method.AtomicMethod.
> You can add a code that can abort on different exception.
>
> Regards,
> Guy Korland
>
>
> On Mon, Feb 22, 2010 at 5:42 PM, Richard Gill <richar...@gmail.com
> <mailto:richar...@gmail.com>> wrote:
>
> Ok thanks, that has helped a lot. However I have now spent a
> reasonable amount of time trying to figure out how to rollback and
> abort a transaction. (So it doesn't just reexecute.).
>
> Is it possible to do this?
>
> Many Thanks,
>
> Richard
>
> On 21 February 2010 22:48, Guy Korland <gkor...@gmail.com
> <mailto:gkor...@gmail.com>> wrote:
>
> > Can I do things like roll back or abort transactions
> in my code?
> You can throw TransactionException to force a
> transaction retry.
>
> >I need to do things like keep track of the number
> roll backs etc.
> You can easily do it by using the Context API.
>
> Regards,
> Guy Korland
>
>
> On Sat, Feb 13, 2010 at 12:34 AM, Richard
> <richar...@gmail.com
> <mailto:deuce-stm-...@googlegroups.com>.
> To unsubscribe from this group, send email to
> deuce-stm-develo...@googlegroups.com
> <mailto:deuce-stm-developers%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/deuce-stm-developers?hl=en.
>
>
> --
> You received this message because you are subscribed
> to the Google Groups "Deuce-STM developers" group.
> To post to this group, send email to
> deuce-stm-...@googlegroups.com
> <mailto:deuce-stm-...@googlegroups.com>.
> To unsubscribe from this group, send email to
> deuce-stm-develo...@googlegroups.com
> <mailto:deuce-stm-developers%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/deuce-stm-developers?hl=en.
>
>
> --
> You received this message because you are subscribed to
> the Google Groups "Deuce-STM developers" group.
> To post to this group, send email to
> deuce-stm-...@googlegroups.com
> <mailto:deuce-stm-...@googlegroups.com>.
> To unsubscribe from this group, send email to
> deuce-stm-develo...@googlegroups.com
> <mailto:deuce-stm-developers%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/deuce-stm-developers?hl=en.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "Deuce-STM developers" group.
> To post to this group, send email to
> deuce-stm-...@googlegroups.com
> <mailto:deuce-stm-...@googlegroups.com>.
> To unsubscribe from this group, send email to
> deuce-stm-develo...@googlegroups.com
> <mailto:deuce-stm-developers%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/deuce-stm-developers?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Deuce-STM developers" group.
> To post to this group, send email to
> deuce-stm-...@googlegroups.com
> <mailto:deuce-stm-...@googlegroups.com>.
> To unsubscribe from this group, send email to
> deuce-stm-develo...@googlegroups.com
> <mailto:deuce-stm-developers%2Bunsu...@googlegroups.com>.