Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Thread.notify() awakens a thread monitoring the object. If more than one thread is monitoring, then only one is chosen. The thread chosen is arbitrary; thus it's usually safer to call notifyAll() instead.
New to GrepCode? Check out our FAQ X