This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Regarding Thread class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Regarding Thread class" Watch "Regarding Thread class" New topic
Author

Regarding Thread class

Eega Sudheer
Greenhorn

Joined: Jun 12, 2007
Posts: 3
why wait(),notify(),notifyall() declared in Object class
instead of Thread classs
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
This has been a popular question. Here are some of the past discussions:

http://www.coderanch.com/t/232356/threads/java/Why-notify-notifyAll-Object-class
http://www.coderanch.com/t/233770/threads/java/wait-notify-notifyAll-Object
http://www.coderanch.com/t/233753/threads/java/wait-notify-methods-Object-class


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Thread class
 
Similar Threads
question about action class
Thread names??
Thread Q from Sierra & Bates SCJP Study Guide
Is thread an Abstract Class and Why?
Is Struts Action class Thread Safe?