site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Apr 29, 2008, at 8:11 AM, Army Research Lab wrote: davez _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Actually it is of quite a bit of use! My concern about the OSAtomic* functions is that they are all defined in libkern/OSAtomic.h. If I understand Terry Lambert's earlier reply (sent to the list on Thursday, April 24, 2008, with the subject 'Re: Where is atomicqueue?'), I should only expect to be able to use this within the kernel (Note that that earlier conversation was about atomicqueue, and not about the other functions, so I'm interpreting what he said, and may be interpreting it incorrectly. Terry, please forgive me [and correct me!] if I'm wrong). I want to be able to use this from user space. Are there any functions that are supported from user space and capable of all that the OSAtomic* functions are? We, Apple, have made a small confusing mess when it comes to OSAtomic.h. Both userland and kernel-land have a header by that name. Unfortunately, not all of the API within have the same names, with the same arguments. The userland header is located here: /usr/include/ libkern/OSAtomic.h and is supported API. This email sent to site_archiver@lists.apple.com