Re: What if process crashes while holding a locked semaphore?
Re: What if process crashes while holding a locked semaphore?
- Subject: Re: What if process crashes while holding a locked semaphore?
- From: Quinn <email@hidden>
- Date: Wed, 1 Apr 2009 21:33:31 -0500
At 07:43 -0700 31/3/09, Jerry Krinock wrote:
Very good, Chris. I'm an NSPortNameServer fan now.
I'm not |-:
When using Mach ports like this, you have to be very careful about
bootstrap namespaces. Each process inherits a reference to a
bootstrap namespace, meaning that which namespace it registers in
depends on how it was launched. A port registration will only fail
if the conflicting process is in the same namespace. This may or may
not be what you want.
TN2083 has all the gory details.
<http://developer.apple.com/technotes/tn2005/tn2083.html>
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden