> On 5 Jun 2020, at 16:18, Vinay Sharma via Python-ideas > <python-ideas@python.org> wrote: > > Hi, > Python has integrated shared memory into standard library starting from 3.8 > (https://docs.python.org/3/library/multiprocessing.shared_memory.html > <https://docs.python.org/3/library/multiprocessing.shared_memory.html>), > which provides a user friendly API to access shared memory across unrelated > processes using names. But, there are no synchronisation mechanisms present > in the standard library to prevent race conditions when shared memory is > accessed across unrelated processes. > > I had earlier created an enhancement issue > <https://bugs.python.org/issue38035> at bugs.python.org > <http://bug.python.org/>, which contains more detailed discussion on the > same. I am posting this here after a suggestion from a Python contributor. > > Feedback on the same will be very helpful.
What you are asking for it the ability to open a named semaphores with the limitation of the current implementation that the semaphores must can only be shared with child processes? Please confirm that I have understood. If that is it sounds like a reasonable request to me. Barry > _______________________________________________ > 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/X4AKFFMYEKW6GFOUMXMOJ2OBINNY2Q6L/ > Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ 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/27WYM7PRMWXGDBL2TPKX4WCOIBU3XWHR/ Code of Conduct: http://python.org/psf/codeofconduct/