This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes wait()/notify() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "wait()/notify()" Watch "wait()/notify()" New topic
Author

wait()/notify()

meena latha
Ranch Hand

Joined: Jan 24, 2005
Posts: 219
i am not yet clear with using wait() and notify().
Can anybody explain me where should i use the notify() in the below code to invoke the waiting thread.



Thanks in advance.
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

Remya,
This is best explained here.
ram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wait()/notify()
 
Similar Threads
Threads notify() question: why synch with "this"?
wait notify not working as expected
Struggling to get wait()/notify() to work
Wait and Notify
Synchronizing between two threads, one implements Runnable the other extends Thread