python的并发模块concurrent
摘要:
Python3.2开始,标准库为我们提供了concurrent.futures模块,它提供了ThreadPoolExecutor和ProcessPoolExecutor两个类,实现了对threading和multiprocessing的进一步抽象,对编写线程池/进程池提供了直接的支持,他属于上层的封 阅读全文
posted @ 2019-07-09 13:29 Gaidy 阅读(4279) 评论(0) 推荐(0)