摘要:
View Code 1 package StopThreadDemo; 2 class StopThreadDemo 3 { 4 public static void main(String[] age) 5 { 6 StopThread st = new StopThread(); 7 Thread t1=new Thread(st); 8 Thread t2=new Thread(st); 9 t1.start();10 t2.start();11 int num=0;12 ... 阅读全文
posted @ 2013-03-29 12:08
熊猫的战斗
阅读(134)
评论(0)
推荐(0)
摘要:
View Code 1 package StopThreadDemo; 2 class StopThreadDemo 3 { 4 public static void main(String[] age)throws Exception 5 { 6 StopThread st = new StopThread(); 7 Thread t1=new Thread(st); 8 Thread t2=new Thread(st); 9 t1.setDaemon(true);10 11 ... 阅读全文
posted @ 2013-03-29 00:26
熊猫的战斗
阅读(215)
评论(0)
推荐(0)