On 13/09/2019 17:31, Vinay Sharma wrote:
multiprocessing.Value can be synchronised using a lock, but if I have multiple multiprocessing.Value(s) which I want to synchronise between two processes, then I will have to pass a lock for each multiprocessing.Value. Therefore having a multiprocessing.AtomicValue could prove handy in these cases.
I repeat, how does this work? If you want atomicity across processes, you need some kind of lock at some level.
-- Rhodri James *-* Kynesim Ltd _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/CEE3TTGAPMOOOP2M4JPEJVUCWTISVQOM/ Code of Conduct: http://python.org/psf/codeofconduct/