That tutorial wrote:Some time after the second thread has released the lock, the first thread reacquires the lock and resumes by returning from the invocation of wait.
Gil Steidle wrote:Chris, thanks for the link it helped sink this concept in a little more. Am I correct in saying that even without a notify (or notifyAll) that a lock will be released when a synchronized method or code block finishes? I'll run some tests to find out. But can someone confirm or deny?