专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
public class TestDeadLock implements Runnable{ public int flag=1; static Object o1=new Object(); static Object o2=new Object(); public static void main(String[] args){ TestDeadLock t1=new TestDeadLock(); TestDeadLock t2=new TestDeadLock(); t2.flag=0; Thread th1=new Thread(t [阅读全文] [PDF]
1 共1条 分1页