>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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com