Python: How to reuse a process pool to run newly defined functions in a Jupyter notebook

后端 未结 0 927
面向向阳花
面向向阳花 2021-02-14 14:01

For example I create a process pool before defining the function to be submitted, and assuming this is on linux:

import multiprocessing as mp

pool = mp.Pool()

d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题