Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Threads and Synchronization and the fly likes wait(), notify(), notifyAll() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "wait(), notify(), notifyAll()" Watch "wait(), notify(), notifyAll()" New topic
Author

wait(), notify(), notifyAll()

velmurugan
Greenhorn

Joined: Jun 08, 2006
Posts: 24
Hi everybody,

We all know that wait(), notify(), notifyAll() methods are related to Thread

What is the the need for having these 3 methods belongs Object class?

Please explain me.
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
This is a very frequently-asked question. Please search the forums, particularly the threads one.


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.<br /> <br />#:^P
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24057
    
  13

Here's a page in our FAQ on this topic.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: wait(), notify(), notifyAll()
 
Similar Threads
Interview q
Threads
SCJP 1.5 topic
Object Class
Object Class