Stopping the execution of multiprocessing.pool()

后端 未结 0 1352
孤独总比滥情好
孤独总比滥情好 2021-02-10 04:05

I am making a call to multiprocessing.pool() as such:

to_stop = None

....

def function():

....

   with multiprocessing.Pool(processes=threads) as pool:

              


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