Results 1 to 5 of 5
  1. #1
    bhaveshdhaduk is offline Member
    Join Date
    Jan 2008
    Posts
    1
    Rep Power
    0

    Default can u please tell me

    my que is what is the need of thread and synchronizations in multithrading.

    and first it process to multithrading after why we are doing to synchronization.

    plz tell me

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    9

    Default

    Welcome to the Java Forums bhaveshdhaduk.

    my que is what is the need of thread and synchronizations in multithrading.
    Please see here.

    and first it process to multithrading after why we are doing to synchronization.
    huh? I understand that English may not be your first language... but you're going to have to do better than that.
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  3. #3
    Sathish is offline Member
    Join Date
    Jan 2008
    Posts
    6
    Rep Power
    0

    Default

    There can be multiple threads which can run on base of specific memory.in that case the content in that memory should not be altered or mutated.So Synchronize is used to process thread by its priority.

    And to your second question,Threading is a wonderful concept in Java.Synch is only used when there is a chance of multi threads uses or alters the contents of exact memory.But different memory spaces and its contents can be mutated with multi threading concept.

    clear!

  4. #4
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    9

    Default

    Quote Originally Posted by Sathish View Post
    ...

    And to your second question,Threading is a wonderful concept in Java.Synch is only used when there is a chance of multi threads uses or alters the contents of exact memory.But different memory spaces and its contents can be mutated with multi threading concept.

    ...
    Hmm.. you were able to understand that second question? Hats off to you!

    Welcome Sathish! See you around. :)
    Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
    Want to voice your opinion on your IDE/Editor of choice? Vote now!
    Got a little Capt'n in you? (drink responsibly)

  5. #5
    Sathish is offline Member
    Join Date
    Jan 2008
    Posts
    6
    Rep Power
    0

Posting Permissions

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