摘要:
如下代码:运行结果:Thread-0 holds the locktrueException in thread "Thread-0" java.lang.IllegalMonitorStateException at java.lang.Object.notify(Native Method) a... 阅读全文
摘要:
参考 http://www.cnblogs.com/dolphin0520/p/3932906.htmlpackage blockthread;import java.util.ArrayList;import java.util.List;import java.util.PriorityQu... 阅读全文