This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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

what does synchronised mean in java

kranthi kumar

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
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="" target="_blank" rel="nofollow"> Is SCJP Useful? Worth? Helps job?</a>
Henry Wong

Joined: Sep 28, 2004
Posts: 18505

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.


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??
Synchronised Overidden
Synchronised method