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: Steve Checkoway <email@hidden>
- Date: Wed, 1 Apr 2009 21:31:30 -0700
On Apr 1, 2009, at 4:59 PM, Terry Lambert wrote:
We don't support unnamed POSIX semaphores, we don't support
sem_getvalue(), and if you try you get a SIGSYS, which if you don't
catch it, you're program exits. We also don't guarantee correct
error semantics for the POSIX named semaphores we do have, since if
we can't run the conformance tests because we don't support unnamed
semaphores, we can't tell if the errors we return are correct or not.
Is there a technical reason that Darwin doesn't support POSIX unnamed
semaphores or it's just not a priority since they're not necessary?
--
Steve Checkoway
"Anyone who says that the solution is to educate the users
hasn't ever met an actual user." -- Bruce Schneier
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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