Is there any way to use @atomic for a code segment instead of creating a function for that segement

31 views
Skip to first unread message

leanux

unread,
Apr 4, 2011, 11:07:06 AM4/4/11
to Deuce-STM
I'm a new comer to Deuce and I have a question when using Deuce. The
user guide on the website shows how to use @atomic to make a function
atomic. So one way to make a code segment atomic is to create a
function including the segment and call the function at the suitable
place. What if I wanna make code segment atomic without a new function
-- is there any possibility to do that?

Many thanks.

Guy Korland

unread,
Apr 4, 2011, 5:44:33 PM4/4/11
to deuc...@googlegroups.com, leanux
Since Java doesn't support blocks annotations this is not supported by Deuce.
But there's a project called TMJava that extends Deuce using pre-compilation see: http://www.velox-project.eu/software/tmjava

Regards,
Guy Korland



--
You received this message because you are subscribed to the Google Groups "Deuce-STM" group.
To post to this group, send email to deuc...@googlegroups.com.
To unsubscribe from this group, send email to deuce-stm+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/deuce-stm?hl=en.


Reply all
Reply to author
Forward
0 new messages