Re: No space left to create named semaphores
Re: No space left to create named semaphores
- Subject: Re: No space left to create named semaphores
- From: Tron Thomas <email@hidden>
- Date: Wed, 22 Jun 2005 20:53:59 -0700
I discovered that I had made a mistake with my build that was logging
the closing of named of semaphores. Once I got it working correctly I
saw evidence that many semaphores were in fact being closed. This means
that we might not be leaking semaphores, although that is far from
conclusive.
Another thing that I noticed is that semaphores are being closed and
they are not being unlinked. The documentation for closing a semaphore
says "resources associated with the named semaphore referenced by/ /sem
are deallocated and the descriptor is invalidated." The documentation
for unlink says "The named semaphore named name is removed."
I'm not really sure what the differences are between deallocating and
invalidating a descriptor versus removing the semaphore. How important
would it be to unlink a semaphore as well as closing it?
Paul Ripke wrote:
On Wednesday, Jun 22, 2005, at 17:14 Australia/Sydney, Jonas Maebe wrote:
man ipcs (didn't exist yet on 10.3 afaik)
Although there are a few versions floating out on the 'net for
10.3 and below...
Including:
http://stix.homeunix.net/wiki/ipcs/ipcrm_for_Darwin
Cheers,
--
stix
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden