You can share a multiprocessing.pool.Pool process pool with child workers indirectly using a multiprocessing.Manager and proxy objects. Using a Manager provides a workaround for the inability to directly share a process pool because it cannot be pickled. This allows you to issue tasks to the pool from tasks executed by the pool, e.g. issue tasks […]
Published on August 04, 2022 12:00