File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes Example of wait and notify 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 "Example of wait and notify" Watch "Example of wait and notify" New topic
Author

Example of wait and notify

Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1844
Here is a simple example of wait and notify

Regds.
Rahul P. Mahindrakar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Example of wait and notify
 
Similar Threads
Question about wait() and notify()
DudesChat clarification please?
interrupt
Why cant i call main method from another class having main block
synchronize (this) - what does it mean?