Python 学习笔记 并发 future
concurrent.futures模块该模块主要特色在于ThreadPoolExecutor和ProcessPoolExecutor类,这两个类都继承自concurrent.futures._base.Executor类,它们实现的接口能分别在不同的线程或进程中执行可调用的对象
concurrent.futures模块该模块主要特色在于ThreadPoolExecutor和ProcessPoolExecutor类,这两个类都继承自concurrent.futures._base.Executor类,它们实现的接口能分别在不同的线程或进程中执行可调用的对象