Re: What if process crashes while holding a locked semaphore?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Apr 1, 2009, at 4:59 PM, Terry Lambert wrote: -- Steve Checkoway "Anyone who says that the solution is to educate the users hasn't ever met an actual user." -- Bruce Schneier _______________________________________________ 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... This email sent to site_archiver@lists.apple.com 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? smime.p7s
participants (1)
-
Steve Checkoway