On 09/06/2020 19:04, Vinay Sharma wrote:
The main reason why I requested this enhancement was to ensure that
multiple processes can read/write a shared memory segment without
corrupting that data in it.

To ensure the same shared semaphores came to mind. Each shared memory
segment, can have a corresponding shared semaphore.

Yes, that's a perfectly good plan.

I don't think using named pipes would be a good way to ensure the
same. Although, if you think otherwise please suggest so.

I understand, I was asking people in general if separately from your particular use case we might want to consider other shared primatives. I can think of other use cases where cross-process pipes, mutexes and so on could be useful.

--
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/CAYNZSQ5X52O4TZYX5DYXRJCNJNUMHK7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to