Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is Volatile Long in java1.4 atomic?

 
sandy sean
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5132
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sandy, please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/threads-synchronization/59130-volatile-long-double.html
 
Henry Wong
author
Marshal
Pie
Posts: 21210
81
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic