Java Multithreading - Thread always waiting
<p>I am running these two methods in two separate threads. For some reason, depending on what aval is initially set to, one or the other thread will always be wait()ing and never woken by the notifyAll() call from the other thread. </p>

<p><a href="http://pastebin.com/2DT6BTH6" rel="nofollow">http://pastebin.com/2DT6BTH6</a></p>