Python: If Pool is placed inside a loop, does it launch new processes for each new iteration of the loop?

后端 未结 0 576
野性不改
野性不改 2021-01-14 09:29
import numpy as np
from multiprocessing import Pool

# p1, p2, .... ,p11 are data arrays with 10000 elements each
# func1 is a function with 12 parameters and return         


        
相关标签:
回答
  • 消灭零回复
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题