What is the wait/notify mechanism?
This deals with concurrent programming. The wait() and notify() methods are designed to provide a mechanism to allow a thread to be block until a specific condition is met. However, java.util.concurrent should be used instead of wait() and notify() to reduce complexity. The wait/notify mechanism in Java is a part of the synchronization features provided … Read more