permaculture playing cards
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 REST with Spring (video course) this week in the Spring 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: 20366

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)
I agree. Here's the link:
subject: what does synchronised mean in java
It's not a secret anymore!