Re: Atomic operations in Obj-C?
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.