atomic_ops.h: missing ...
Ian Lepore
freebsd at damnhippie.dyndns.org
Wed Sep 5 15:40:40 UTC 2012
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
More information about the freebsd-current
mailing list