摘要:
This method spawns the new thread and invokes the receiver’s main method on the new thread. If you initialized the receiver with a target and selector 阅读全文
posted @ 2016-08-10 11:28
zzfx
阅读(206)
评论(0)
推荐(0)
摘要:
http://bbs.csdn.net/topics/350206340 Thread类中run()和start()方法的区别如下:run()方法:在本线程内调用该Runnable对象的run()方法,可以重复多次调用;start()方法:启动一个线程,调用该Runnable对象的run()方法,不 阅读全文
posted @ 2016-08-10 11:14
zzfx
阅读(328)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/super-d2/p/3348183.html 最近重新研究Java基础知识,发现以前太多知识知识略略带过了,比较说Java的线程机制,在Java中有两类线程:User Thread(用户线程)、Daemon Thread(守护线程) ,(PS:以前忽略 阅读全文
posted @ 2016-08-10 11:07
zzfx
阅读(232)
评论(0)
推荐(0)

浙公网安备 33010602011771号