• 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: Atomic operations in Obj-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Atomic operations in Obj-C?


  • Subject: Re: Atomic operations in Obj-C?
  • From: Pierre-Olivier Latour <email@hidden>
  • Date: Wed, 15 Jan 2003 11:00:51 -0800

> There are some under PCI card service, though they are defined as a
> part of PCI card service they can be used generally.

Yes, I know of the DriverServiceLib, I used to link with it under OS 9. But
this is probably "old stuff" on OS X.

Someone told me about /usr/include, where I found bits/atomicity which
contains:
__exchange_and_add (volatile _Atomic_word* __mem, int __val)
__atomic_add (volatile _Atomic_word *__mem, int __val)
__always_swap (volatile long *__p, long int __newval)
__test_and_set (volatile long *__p, long int __newval)

Unfortunately, no explanation on what they do. Can anyone give me hints (I
searched on google, but did not find anything interesting)?

Many thanks

_____________________________________________________________

Pierre-Olivier Latour email@hidden
Palo Alto, USA http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Atomic operations in Obj-C? (From: Nathan Day <email@hidden>)

  • Prev by Date: NSTableView modifications
  • Next by Date: Static code analysis
  • Previous by thread: Re: Atomic operations in Obj-C?
  • Next by thread: Re: coding struct with keyed archivers
  • Index(es):
    • Date
    • Thread