The Artima Developer Community
Sponsored Link

Java Buzz Forum
Difference between wait/notify mechanism and synchronized

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Java Experience

Posts: 58
Nickname: javaexp
Registered: Dec, 2012

Java Experience is a place for Java, web, spring, android tutorials
Difference between wait/notify mechanism and synchronized Posted: Dec 26, 2012 11:58 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Java Experience.
Original Post: Difference between wait/notify mechanism and synchronized
Feed Title: Java Experience
Feed URL: http://www.javaexperience.com/feed/
Feed Description: A place for all type of Java web tutorials
Latest Java Buzz Posts
Latest Java Buzz Posts by Java Experience
Latest Posts From Java Experience

Advertisement
For any developer trying to learn multi-threaded programming, it is important to learn the difference between wait/notify mechanism and synchronized keyword. Both of them are explained below: wait/notify mechanism wait/notify mechanism is used for inter-thread communication where one thread needs to wait until another thread completes its job. All three wait, notify and notifyAll methods [...]

Read: Difference between wait/notify mechanism and synchronized

Topic: Difference between Hashtable, Collections.synchronizedMap and ConcurrentHashMap Previous Topic   Next Topic Topic: Best Practicies for adding code comments


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us