[docs] [issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

Dávid Nemeskey report at bugs.python.org
Wed Aug 7 05:03:56 EDT 2019


Dávid Nemeskey <nemeskeyd at gmail.com> added the comment:

OK, actually: trying to create a multiprocessing.Value object and sharing it between a Pool of processes results in "RuntimeError: Synchronized objects should only be shared between processes through inheritance". So the only way seems to be through a Manager, but its Value() is of a different class?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35786>
_______________________________________


More information about the docs mailing list