• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kern/locks.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: kern/locks.h
      • From: Barry Fawthrop <email@hidden>
References: 
 >kern/locks.h (From: Barry Fawthrop <email@hidden>)

  • Prev by Date: Re: kern/locks.h
  • Next by Date: Re: Field editor undo vs document dirty
  • Previous by thread: Re: kern/locks.h
  • Next by thread: Re: kern/locks.h
  • Index(es):
    • Date
    • Thread