##Using Multiprocessing and ProcessPoolExecutor
上章中,我们学习了如何使用threading模块解决两个问题。通过本章的学习,我们将学习如何使用multiprocessing模块解决上章的两个问题,我们将使用和上章类似的接口实现。然而,我们会使用多进程机制。
本章将覆盖如下一个知识点:
- 理解进程的概念
- 理解多进程通信
- 使用多进程解决斐波那契数列多输入问题
- 使用ProcessPoolExecutor模块设计网络爬虫
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Parallel-Programming-with-Python/第五章 at master · gorlf/Parallel-Programming-with-Python Expand file tree/ Copy path第五章/Directory actionsMore optionsMore optionsDirectory actionsMore optionsMore options/ Copy path第五章/Folders and files
##Using Multiprocessing and ProcessPoolExecutor
上章中,我们学习了如何使用threading模块解决两个问题。通过本章的学习,我们将学习如何使用multiprocessing模块解决上章的两个问题,我们将使用和上章类似的接口实现。然而,我们会使用多进程机制。
| |||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402605 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||||||||||||