Re: kern/locks.h
Re: kern/locks.h
- Subject: Re: kern/locks.h
- From: Michael Dautermann <email@hidden>
- Date: Tue, 07 Apr 2009 07:27:17 -0700
>I'm working on a project for the iPhone
>
>original it was c++ based and has the following lines
>
>#include <kern/locks.h>
>#include <kern/thread.h>
>
>It comes back with
>No such file or directory
>
>Yet I have
>Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/locks.h
>Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/locks.h
>Library/Frameworks/Kernel.framework/Versions/A/Headers/libkern/locks.h
Hello Barry,
iPhone doesn't have the Kernel framework to work with. Those files you have found are all Macintosh-only things.
You'll have to use different locking mechanisms.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >kern/locks.h (From: Barry Fawthrop <email@hidden>) |