Delete comment from: Javarevisited
Hello Javin,
What if the variable used to set & check condition is declared volatile? If volatile, could we have got away from using the synchronized blocks?
Thanks.
Oct 7, 2018, 1:27:46 PM
Posted to Why wait, notify, and notifyAll methods are called from synchronized block or method in Java?