Re: atomic_ops.h: missing ...

From: Ian Lepore <freebsd_at_damnhippie.dyndns.org>
Date: Wed, 05 Sep 2012 09:40:15 -0600
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
Received on Wed Sep 05 2012 - 13:40:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC