Python: Good place to learn about `multiprocessing.Manager`?

I want to learn how to use multiprocessing.Manager . I looked at the documentation, but it’s not easy for me. Does anyone know a good tutorial or something like that?

+41
python multiprocessing
Apr 11 '09 at 21:56
source share
2 answers

This page contains several examples of multiprocessing, including examples of using the Manager. I found this to be really useful by wrapping my head in multiprocessing.

+30
Sep 12 '10 at 1:17
source share

multiprocessing.Manager documentation contains extensive examples of using the Manager and various objects related to calss:

Managers provide a way to create data that can be shared between processes. The manager object controls the server process, which manages the shared objects. Other processes can access shared objects using a proxy. [etc.]

Manager objects allow you to create variables shared by multiple processes. What do you want to achieve exactly ? Maybe an example request will help?

+4
Apr 11 '09 at 22:41
source share



All Articles