摘要: 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.... 阅读全文
posted @ 2012-11-20 20:12 Leo Forest 阅读(466) 评论(0) 推荐(0) 编辑
摘要: http://blog.chinaunix.net/attachment/attach/14/11/79/22141179228babc115bb4b5c862ac7b10ea7b3afa8.pdf 阅读全文
posted @ 2012-11-20 09:06 Leo Forest 阅读(162) 评论(0) 推荐(0) 编辑