Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2012 09:40:15 -0600
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: atomic_ops.h: missing ...
Message-ID:  <1346859615.59094.79.camel@revolution.hippie.lan>
In-Reply-To: <50475D83.6090803@mail.zedat.fu-berlin.de>
References:  <50475D83.6090803@mail.zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2012-09-05 at 16:11 +0200, O. Hartmann wrote:
> Hello.
> 
> While fiddling around with software that is looking for an include file
> "atomic_ops.h", which seems to reside in the FreeBSD operating system's
> sources with lib/lbkse, I'd like to know whether those architecture
> specific header files are installed in some places, where they could be
> found by the regular ports building environment (without necessarily
> having the OS sources installed).
> 
> I'm working on FreeBSD 10.0-CUR with OS sources installed.
> 
> Doing a "locate atomic_ops.h" reveals
> 
> /usr/local/include/cpl_atomic_ops.h
> /usr/src/lib/libkse/arch/amd64/include/atomic_ops.h
> /usr/src/lib/libkse/arch/arm/include/atomic_ops.h
> /usr/src/lib/libkse/arch/i386/include/atomic_ops.h
> /usr/src/lib/libkse/arch/ia64/include/atomic_ops.h
> /usr/src/lib/libkse/arch/powerpc/include/atomic_ops.h
> /usr/src/lib/libkse/arch/sparc64/include/atomic_ops.h
> 
> Is this include missed by intention or is it a bug?
> 
> Thanks in advance.

There also used to be an atomic_ops.h in the libpthread implementation
in days of old.  I think both it and the one in libkse are intended to
be private to the library implementation and they don't get installed.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1346859615.59094.79.camel>