Synchronising on Class

Discussion in 'Java' started by sks, May 19, 2004.

  1. sks

    sks Guest

    If I synchronized on the class object, does that synchronized against access
    from all instances too ?
     
    sks, May 19, 2004
    #1
    1. Advertising

  2. sks

    Chris Uppal Guest

    sks wrote:

    > If I synchronized on the class object, does that synchronized against
    > access from all instances too ?


    No, only operations that are synchronised on the class itself.

    -- chris
     
    Chris Uppal, May 19, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benjamin Todd

    Synchronising Reset APP Note

    Benjamin Todd, Aug 8, 2005, in forum: VHDL
    Replies:
    2
    Views:
    511
    Benjamin Todd
    Aug 8, 2005
  2. E11
    Replies:
    1
    Views:
    4,800
    Thomas Weidenfeller
    Oct 12, 2005
  3. David Graham
    Replies:
    6
    Views:
    398
    brucie
    Oct 11, 2003
  4. christopher diggins
    Replies:
    16
    Views:
    761
    Pete Becker
    May 4, 2005
  5. Joseph Turian
    Replies:
    5
    Views:
    603
Loading...

Share This Page