The Artima Developer Community
Sponsored Link

Java Atomic operations

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Java Atomic operations

Posted by Ylian Saint-Hilaire on 23 Jul 1998, 8:27 AM

I programmed and released I simple Java Application at:

http://kairos.dsa.uqam.ca/software/

Click on "Speed Discovery", the source is also given. If I could find a atomic Java operation that I could execute without "synchronize", it would be useful to speedup the application. In my sample, I assume that A=(++B) is atomic, witch is not... Is there some other way? a exchange operation?.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us