On 09/06/2020 17:16, Vinay Sharma wrote:
Hi, I posted this here because a core Developer (Tal Einat), asked me to, although I am not sure what is the protocol from here. Does this enhancement request look reasonable ?
If yes, I would love to open a PR. If not, any suggestions, feedback is very welcome.
I've been thinking about this for a couple of days now, and I think for what little it's worth my answer is mostly yes. You're basically asking for Named Semaphores, which are a perfectly sensible thing to want for inter-program communications. I hesitate only because I'm more used to thinking about these things in terms of message-passing protocols, but that's no reason to reject your request. My only bit of bikeshedding is that they ought to be a different class to the basic Semaphore to make it clear they have a different scope.
Is it worth broadening out the discussion to other sorts of named objects? Named Pipes particularly spring to my mind...