摘要: 利用Thread 类以及Runnable接口创建线程 运行结果: Child thread: Thread[I create a new thread.,5,main]Main thead: 0Chinld thead: 0Chinld thead: 1Main thead: 1Main thead 阅读全文
posted @ 2017-01-22 18:41 smallyaohailu 阅读(215) 评论(0) 推荐(0) 编辑
摘要: java 线程 获取当前线程 阅读全文
posted @ 2017-01-22 09:39 smallyaohailu 阅读(34550) 评论(0) 推荐(0) 编辑