摘要: 一 .进程池(multiprocess.Pool) 1.进程池概念 2.进程同步(apply) 3.进程异步( apply_async) 4.进程池版 socket 5. 进程池回调函数(主要用于爬虫) 爬虫案例 6. 进程池返回值 异步获取返回值 map 阅读全文
posted @ 2019-07-16 15:21 supreme9999 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 一 .进程(Pipe 双管道通信) 1.进程管道概念(Pipe) 2.管道使用(Pipe) 3.使用管道来实现生产者消费者(Pipe) 阅读全文
posted @ 2019-07-16 12:16 supreme9999 阅读(259) 评论(0) 推荐(0) 编辑