Python multiprocessing.pool模块,常用函数和类

下面列出了Python multiprocessing.pool 模块中定义的常用函数和类,我们从188个开源Python项目中,按照使用频率进行了排序。

函数和类 使用项目数
1. ThreadPool() 用在(160)个项目中
2. Pool() 用在(57)个项目中
3. map() 用在(24)个项目中
4. close() 用在(21)个项目中
5. join() 用在(14)个项目中
6. map_async() 用在(8)个项目中
7. MaybeEncodingError() 用在(8)个项目中
8. terminate() 用在(5)个项目中
9. apply_async() 用在(5)个项目中
10. imap_unordered() 用在(5)个项目中