摘要:
import java.util.logging.Level;import java.util.logging.Logger;class Task extends Thread { @Override public void run() { try { synchronized (this) { Thread t = Thread.currentThread(); System.out.println(t.getId() + t.getName() + ":task start, wait for notify..."); this.wait(); System.... 阅读全文
摘要:
http://blog.chinaunix.net/attachment/attach/14/11/79/22141179228babc115bb4b5c862ac7b10ea7b3afa8.pdf 阅读全文