摘要: 用 Manager.dict 的例子(多进程数据共享): import multiprocessing, time sum = 0 def worker(d, key): d[key] = key * 2 print("Individual d : ", d[key]) if __name__ == 阅读全文
posted @ 2020-12-09 11:21 Pekkle 阅读(238) 评论(0) 推荐(0) 编辑