Correct me if I am wrong?
If there is a lock in the
thread 1) join(), sleep() and yield()method will keep the thread locked.
2) notify()-Thread will exit the synchronized code shortly
after this method call and give up its locks
3) wait() method will give up lock.
Thanks, AR
SCWCD 5, SCJP 1.4, OCA (PL/SQL)