摘要: 2.使用Executors.newCachedThreadPool 调用线程 3.使用Executors.newFixedThreadPool 4.带返回值的线程,实现callable 5.线程的睡眠 6.线程的优先级 7.线程的加入-join(),也可在join()方法带上一个超时参数,如果目标线 阅读全文
posted @ 2016-09-06 18:16 公众号java-codestack 阅读(1771) 评论(0) 推荐(0) 编辑