Results 1 to 2 of 2
  1. #1
    the light is offline Member
    Join Date
    Dec 2010
    Rep Power

    Default volatile long/double


    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.


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: volatile long/double

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 2
    Last Post: 01-10-2012, 02:10 PM
  2. transient vs volatile
    By waqar100 in forum New To Java
    Replies: 2
    Last Post: 06-14-2010, 11:21 AM
  3. long to double trouble (Rhyme scheme not intended)
    By sdeverteuil in forum New To Java
    Replies: 2
    Last Post: 08-19-2009, 12:02 AM
  4. Transient & Volatile
    By Deepa in forum New To Java
    Replies: 2
    Last Post: 12-05-2008, 10:30 AM
  5. use of volatile
    By venkatallu in forum New To Java
    Replies: 3
    Last Post: 09-23-2008, 10:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts