File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes Is Volatile Long in java1.4 atomic? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Is Volatile Long in java1.4 atomic?" Watch "Is Volatile Long in java1.4 atomic?" New topic
Author

Is Volatile Long in java1.4 atomic?

sandy sean
Ranch Hand

Joined: Dec 30, 2010
Posts: 69
Hi!

I want to ask that whether volatile long or volatile double in java1.4 is atomic or not?

In java1.5 it is atomic but i am confused regarding java1.4.

Thanks...
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4658
    
    5

sandy, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/threads-synchronization/59130-volatile-long-double.html


luck, db
There are no new questions, but there may be new answers.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18962
    
  40


Also, please SearchFirst. This topic has been discussed before....

http://www.coderanch.com/t/574004/threads/java/Long-double-not-atomic-java


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
jQuery in Action, 2nd edition
 
subject: Is Volatile Long in java1.4 atomic?