摘要: 前言第一次看到join ,以为是数据库的join , 最后才搞清楚,官网的介绍是:join public final void join (long millis )throws InterruptedException Waits at most millis milliseconds for this thread to die. A timeout of 0 means to wait forever.正文这个知识点比较容易理解,直接应用其他网站的代码+我的注释;主要作为备忘录;package mythread;publicclassJoinThread extends Thread { 阅读全文
posted @ 2012-12-07 12:10 广州_大臣 阅读(150) 评论(0) 推荐(0) 编辑