This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay0410
Recipients vinay0410
Date 2019-09-05.05:01:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567659668.43.0.186142682202.issue38035@roundup.psfhosted.org>
In-reply-to
Content
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.
This behaviour works well when the file descriptors of these semaphores can be shared with children processes.

But, it doesn't work when an unrelated process which needs access to shared semaphore tries to open it.
History
Date User Action Args
2019-09-05 05:01:08vinay0410setrecipients: + vinay0410
2019-09-05 05:01:08vinay0410setmessageid: <1567659668.43.0.186142682202.issue38035@roundup.psfhosted.org>
2019-09-05 05:01:08vinay0410linkissue38035 messages
2019-09-05 05:01:08vinay0410create