site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wrcV7u1d01vl18i4P1t9gGPOUkoAXKhsX2Q9liIEkVU=; b=dNQe8ZsjGDlPBQeLukgsTFhRNVDEhq6wnGaXTeBMxzbDHv7wD0mKEQ5wH3eHDgn8zKQnf5bXG1QB581GN+c81Bq5jK3XAEZ9eKIqDKO5ZwZi8o8nf8qPfWrXerHdu8jm2wSQsRUKIJ4g60jcLOTskU8rJ5WV6Kwmj2l4IeFL7kE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eYYAnkDPuyqc5qVtxB2XkOyMOKBeX5yIGpNhsHhGXHERS8EfUndqwlKSHJ2BwAKeniIBlt9yAaK+wY9FNGx+i0/7z816Wo5qDrqXJjkeeHpcpief8rQt+/4lXaHPZye2aF74h8ABDwDD8ksGBSjzYrAChPTmwsfDyzS9yQJ49J4= On Thu, Apr 24, 2008 at 8:30 AM, Shawn Erickson <shawnce@gmail.com> wrote:
On Thu, Apr 24, 2008 at 4:35 AM, Army Research Lab <ckaran@arl.army.mil> wrote:
I've been poking through the man pages, and discovered the docs for <libkern/OSAtomic.h>; I see the documentation for atomic and for spinlock, but 'man barrier' also lists atomicqueue. Unfortunately, although the man pages claim that I should find it, it isn't there. I also can't find anything like it in /usr/include. Does it exist?
BTW, I'm looking at all of this on a OS X 10.4.11 machine...
[0:505] > find /usr/include -name "OSAtomic.h" /usr/include/libkern/OSAtomic.h
That is on a 10.4.11 system with Xcode 2.5.
Ah maybe you are talking about that header not containing the definition for OSAtomic queue?
From the 10.5 man page...
"Most of these functions first appeared in Mac OS 10.4 (Tiger). The "Orig" forms of the boolean operations, the "int", "long" and "ptr" forms of compare-and-swap, and lockless enqueue/dequeue first appeared in Mac OS 10.5 (Leopard)." The atomic queue does exist on 10.4 when in the kernel. -Shawn _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Shawn Erickson