[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-06-19 Thread Vinay Sharma
Vinay Sharma added the comment: Hi @taleinat, I had sent a mail to the python mailing list as suggested. And till now it has received rather positive comments, in the sense that people who responded see this is a useful feature to be integrated into python. --

[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-06-05 Thread Vinay Sharma
Vinay Sharma added the comment: As suggested I have sent a mail to Python Ideas regarding this issue. Link to Python Ideas Archive: https://mail.python.org/archives/list/python-id...@python.org/thread/X4AKFFMYEKW6GFOUMXMOJ2OBINNY2Q6L/ -- ___

[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-05-29 Thread Tal Einat
Tal Einat added the comment: Sorry this hasn't been followed up. I think this would best be discussed a bit on the Python-Ideas mailing list. Please send an email there suggesting this feature, and link to the discussion thread in the mailing list archives here. --

[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-02-23 Thread Vinay Sharma
Vinay Sharma added the comment: Hi, I think a use case for this is https://docs.python.org/3/library/multiprocessing.shared_memory.html If not, can you please suggest a way to synchronise the above across unrelated processes. -- ___ Python

[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-02-22 Thread Tal Einat
Tal Einat added the comment: I'm not convinced there is enough real need for this to justify implementing and supporting it. Using shared memory wouldn't be possible with built-in Python objects; one would have to use a special-purpose library for this, or perhaps use something like

[issue38035] shared_semaphores cannot be shared across unrelated processes

2020-02-22 Thread Ido Michael
Ido Michael added the comment: @taleinat what do you think? -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-28 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-28 Thread Ido Michael
Ido Michael added the comment: @ned.deily any thoughts? I can start working on it. Ido -- nosy: +Ido Michael ___ Python tracker ___

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-13 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-13 Thread Vinay Sharma
Vinay Sharma added the comment: A common use for the same can be shared memory. Currently shared memory can be used by unrelated processes, but there is no mechanism as such to synchronise them at the moment. -- ___ Python tracker

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-05 Thread Vinay Sharma
Vinay Sharma added the comment: Let's say I have two processes which are accessing a shared resource (let's say shared memory). Now, these two processes will need some kind of synchronisation mechanism, to be able to access the resource properly, and avoid race condition. Currently, shared

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-05 Thread Ned Deily
Ned Deily added the comment: Please give an example of how this is a problem in using Python. You don't give any context here. -- nosy: +ned.deily ___ Python tracker ___

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-04 Thread Vinay Sharma
New submission from Vinay Sharma : Currently, shared semaphores can only be created, and existing semaphores can't be opened. Shared semaphores are opened using the following command. ``` sem_open(name, O_CREAT | O_EXCL, 0600, val) ``` This will raise error if a semaphore which already exists.

[issue38035] shared_semaphores cannot be shared across unrelated processes

2019-09-04 Thread Vinay Sharma
Change by Vinay Sharma : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: