摘要:
public class 等待和通知 { final static Object ob=new Object(); public static class T1 extends Thread{ @Override public void run() { synchronized (ob){ Syst 阅读全文
摘要:
public class 自定义线程创建 { public static void main(String[] args) { ThreadPoolExecutor threadPoolExecutor=new ThreadPoolExecutor(2, 5, 0, TimeUnit.SECONDS 阅读全文