Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2008, 06:04 AM
Member
 
Join Date: Jan 2008
Posts: 1
bhaveshdhaduk is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-24-2008, 06:25 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 644
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Welcome to the Java Forums bhaveshdhaduk.

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

Quote:
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.
__________________
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-24-2008, 02:45 PM
Member
 
Join Date: Jan 2008
Posts: 6
Sathish is on a distinguished road
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!
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-24-2008, 06:14 PM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 644
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
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.
__________________
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 01-29-2008, 12:07 PM
Member
 
Join Date: Jan 2008
Posts: 6
Sathish is on a distinguished road
will be here!thanks buddy
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +3. The time now is 02:11 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org