August 2015
Intermediate to advanced
286 pages
5h 42m
English
Python multiprocessing provides a manager to coordinate shared information between all its users. A manager object controls a server process that holds Python objects and allows other processes to manipulate them.
A manager has the following properties:
Let's see an example of how to share a state between processes:
taskWorkers, and every worker updates an index.stdout:import multiprocessing def worker(dictionary, key, item): dictionary[key] ...
Read now
Unlock full access