摘要: 1.线程池: 实例化线程池 ThreadPoolExcutor 起 5*cpu_count 异步提交任务 submit/map 阻塞直到任务结束 shutdown 获取子线程的返回值 result 回调函数 add_done_callback 起线程池推荐使用concurrent futrues 工 阅读全文
posted @ 2018-09-26 17:24 俏如來 阅读(114) 评论(0) 推荐(0) 编辑