site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On 2009 Mar 31, at 00:02, Chris Suter wrote: Thanks to everyone for the help. Jerry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... ... you could do what you want with Mach ports without any great difficulty. Very good, Chris. I'm an NSPortNameServer fan now. Your little code works great -- the only change is that I needed to retain the NSPort object, and then when work is done, send it an -[NSPort invalidate]. The system clears the named port when I crash the single process which registered it. Yay! The only return value I need to deal with is the one that tells me whether or not the named port is available. There are no stupid errno`s to verbalize, no stupid descriptors, no stupid #includes, no stupid MAX_VALUE`s. 130 lines of code are gone. If anyone who knows about semaphores thinks so, I'll file that bug on the semaphores. Maybe the behavior is expected. Let me know. This email sent to site_archiver@lists.apple.com