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 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Regarding Thread class
 
Similar Threads
Is thread an Abstract Class and Why?
Thread names??
question about action class
Is Struts Action class Thread Safe?
Thread Q from Sierra & Bates SCJP Study Guide