site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Fri, 6 Jun 2008, Josh Graessley wrote: On Jun 6, 2008, at 10:02 AM, Rick Macklem wrote: As OSBundleLibraries I use com.apple.kernel. I do know that I'm using unsupported API... but is there a way to use the mutex routines? rick _______________________________________________ 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... [stuff snipped] [more stuff snipped] You can also bypass the safety on your food processor and get it to run while the lid is off and reach your hand in but I wouldn't recommend it. 1) In order to get your kext to link, you'll have to declare a dependency on the exact version of the kernel, which means your kext will only work with one specific version of Mac OS X. Every software update will break your product. Yep, but he noted that he was linking against com.apple.kernel and that he knew he was using unsupported APIs. (The local laundromat has front loading washers with a safety device on them so people won't open the door while it's running. I suppose there is someone out there who would open it and dump water all over the floor, but it's a real pain when it decides not to release when your laundry is done and you can't get the dang thing to open;-) 2) There's a better way. There are a whole set of KPIs to do whatever you are likely to be trying to do. They will take and drop any appropriate locks for you. Agreed, of course. If he can do what he wants with a KPI, then that would be a better solution. (I had assumed, quite possibly incorrectly, that he had already decided that the KPIs weren't sufficient for what he was doing.) This email sent to site_archiver@lists.apple.com
participants (1)
-
Rick Macklem