我想学习使用multiprocessing.Manager
。我查看了文档,但这对我来说还不够容易。任何人都知道一个好的教程或类似的东西?
最佳答案
documentation of multiprocessing.Manager包含使用 Manager 和与 cals 关联的各种对象的大量示例:
Managers provide a way to create data which can be shared between different processes. A manager object controls a server process which manages shared objects. Other processes can access the shared objects by using proxies. [and so on]
Manager 对象允许您创建在多个进程中共享的变量。您确切想要达到什么目标?也许请求示例会有所帮助?
关于Python:了解 `multiprocessing.Manager` 的好地方?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/740848/