Re: No space left to create named semaphores
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) Paul Ripke wrote: On Wednesday, Jun 22, 2005, at 17:14 Australia/Sydney, Jonas Maebe wrote: 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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? man ipcs (didn't exist yet on 10.3 afaik) This email sent to site_archiver@lists.apple.com
participants (1)
-
Tron Thomas