摘要: 1 介绍 concurrent.futures模块提供了高度封装的异步调用接口 ThreadPoolExecutor:线程池,提供异步调用 ProcessPoolExecutor: 进程池,提供异步调用 Both implement the same interface, which is defined by the abstract Executor class. 2 基本方法 submit... 阅读全文
posted @ 2017-10-16 14:18 大象和骆驼 阅读(246) 评论(0) 推荐(0) 编辑