• 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: OSAtomic.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSAtomic.h


  • Subject: Re: OSAtomic.h
  • From: John Stiles <email@hidden>
  • Date: Wed, 29 Nov 2006 19:17:02 -0800

Hmm.
I found that the 10.2.8 and 10.3.9 SDKs have a <libkern/OSAtomic.h> in the Kernel.framework. But if I add that framework to my project and #include the file, the #include fails for some reason.
I'll stick with DriverSynchronization.h. It looks like the exact same stuff anyway. Thanks for the info.
I'll file a doc bug on this.



On Nov 29, 2006, at 6:55 PM, Chris Suter wrote:

As I recall they were added in 10.4.

For 10.3 and earlier, I've used the ones declared in CarbonCore/ DriverSynchronization.h.

- Chris

On 30/11/2006, at 1:43 PM, John Stiles wrote:

When were the functions in <libkern/OSAtomic.h> added to the OS?
I have a need for them, but none of the docs specify a minimum OS version. I've seen some information on them that dates all the way back to 2000, so I think I'm in the clear, but I'd like to be sure.


http://developer.apple.com/documentation/Darwin/Reference/ KernelIOKitFramework/OSAtomic/
http://developer.apple.com/documentation/Darwin/Reference/ManPages/ man3/OSAtomicDecrement64.3.html
http://developer.apple.com/documentation/Cocoa/Conceptual/ Multithreading/articles/ThreadLocking.html


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: OSAtomic.h
      • From: Shawn Erickson <email@hidden>
References: 
 >OSAtomic.h (From: John Stiles <email@hidden>)
 >Re: OSAtomic.h (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: OSAtomic.h
  • Next by Date: Re: OSAtomic.h
  • Previous by thread: Re: OSAtomic.h
  • Next by thread: Re: OSAtomic.h
  • Index(es):
    • Date
    • Thread