File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Threads and Synchronization and the fly likes notify(), wait(), notifyall() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "notify(), wait(), notifyall()" Watch "notify(), wait(), notifyall()" New topic

notify(), wait(), notifyall()

Kareem Qureshi
Ranch Hand

Joined: Mar 14, 2002
Posts: 102
Can anyone explain why we have notify(), wait(), notifyall() in Object class?
if the answer is for Threading then why are they not present in C++
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
See This thread.
I'm moving this to the Threads forum for any further discussion.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: notify(), wait(), notifyall()
It's not a secret anymore!