Re: see if a mutex lock is taken?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Feb 11, 2008, at 2:49 PM, mm w wrote: hi greg, lock.h extern boolean_t mutex_try( mutex_t *mutex); whatever it depends of your xnu version Thanks! - Greg _______________________________________________ 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... -mmw Hmm... I've found this in the sources to xnu, but I can't find this in the Kernel.framework. Perhaps I should have mentioned that I'm writing a kernel extension. Does this exist for kernel extensions, and if so how do I access it? Right now I'm just linking against Kernel.framework, which doesn't seem to have this header. This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg