上一页 1 ··· 7 8 9 10 11
摘要: public class 等待和通知 { final static Object ob=new Object(); public static class T1 extends Thread{ @Override public void run() { synchronized (ob){ Syst 阅读全文
posted @ 2018-02-07 10:11 anxbb 阅读(122) 评论(0) 推荐(0) 编辑
摘要: public class 自定义线程创建 { public static void main(String[] args) { ThreadPoolExecutor threadPoolExecutor=new ThreadPoolExecutor(2, 5, 0, TimeUnit.SECONDS 阅读全文
posted @ 2018-02-07 10:09 anxbb 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11