New POSIX semaphore functionality

Robert Collins rbcollins@cygwin.com
Mon Oct 27 12:10:00 GMT 2003


On Mon, 2003-10-27 at 23:05, Corinna Vinschen wrote:

> The only missing functionality from POSIX semaphore now is sem_unlink().
> I don't how to implement it correctly.  The requirement is, if a process
> has called sem_unlink(), further calls to sem_open() using the same name
> will create a new semaphore.  Other processes, which have still a 
> semaphore using the same name, but opened before the call to sem_unlink(),
> are unaffected.  This isn't supported by Windows semaphores, AFAIK.

It isn't. Back when I was working this code, I intended to do process
shared foo via cygserver - allowing this to work.

Rob
-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20031027/973c540b/attachment.sig>


More information about the Cygwin-developers mailing list