摘要: 1. execute 和 submit 的区别 前面说了还需要介绍多线程中使用 execute 和 submit 的区别(这两个方法都是线程池 ThreadPoolExecutor 的方法)。 1.1 方法来源不同 execute 方法是线程池的顶层接口 Executor 定义的,在 ThreadP 阅读全文
posted @ 2023-04-07 16:46 下半夜的风 阅读(251) 评论(0) 推荐(0) 编辑