This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes what does synchronised mean in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "what does synchronised mean in java" Watch "what does synchronised mean in java" New topic
Author

what does synchronised mean in java

kranthi kumar
Greenhorn

Joined: Nov 04, 2008
Posts: 13
hi everyone
i want to know what is the funtionality of synchronised in java could any one please help
regards
kranthi.
mani vannan
Ranch Hand

Joined: Apr 17, 2006
Posts: 47
Please go through the classical Producer-Consumer problem. That would really help a lot n lot to understand thread synchrnoization.


Mani (SCEA 1.4)<br /><a href="http://excusemeworld.com/technical/is-scjp-useful-worth-helps-job/" target="_blank" rel="nofollow"> Is SCJP Useful? Worth? Helps job?</a>
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18534
    
  40

Also, synchronization is used to help threading. So, we are assuming that you understand the basic concept of threads -- starting, joining, etc. If not, that would be a better place to start.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what does synchronised mean in java
 
Similar Threads
Is synchronised a modifier?indentifier??what is it??
jsp
Collection
Synchronised Overidden
Synchronised method