First wait() for the pool.apply_async() jobs before pool.close() or first pool.close() and then wait()?

后端 未结 0 508
北海茫月
北海茫月 2020-12-20 13:23

Which one is true? First wait() for the pool.apply_async() jobs and then pool.close()?

numofProcesses = multiprocessing.cpu_count()
pool = multiprocessing.Poo         


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