• 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: Barry Fawthrop <email@hidden>
  • Date: Tue, 07 Apr 2009 13:08:20 -0400


Michael Dautermann wrote:
>> 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.
>

Thanks Michael
Can you suggest some learning resources on how to (a) learn more and (b) accomplish an iPhone "acceptable" locking mechanism for the iPhone.

And seeing your domain is mac.com
Can you suggest why the Kernel framework was not developed for the iPhone ?
I have also noticed that the Kerberos framewotk was also not developed for the the iPhone either.

_______________________________________________

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: Dave Camp <email@hidden>
References: 
 >kern/locks.h (From: Barry Fawthrop <email@hidden>)
 >Re: kern/locks.h (From: Michael Dautermann <email@hidden>)

  • Prev by Date: Re: Floating window on top of everything
  • Next by Date: Re: SQLite and Unicode
  • Previous by thread: Re: kern/locks.h
  • Next by thread: Re: kern/locks.h
  • Index(es):
    • Date
    • Thread