Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2012 19:09:50 +0100
From:      Ed Schouten <ed@80386.nl>
To:        davidxu@freebsd.org
Cc:        svn-src-head@freebsd.org, Lawrence Stewart <lstewart@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r230201 - head/lib/libc/gen
Message-ID:  <20120119180949.GU95413@hoeg.nl>
In-Reply-To: <4F13D768.10307@gmail.com>
References:  <201201160615.q0G6FE9r019542@svn.freebsd.org> <4F13D43C.2060207@freebsd.org> <4F13D768.10307@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--CpBQqYjq/d0HQTAP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi David,

* David Xu <listlog2011@gmail.com>, 20120116 08:53:
> but since atomic.h does not have a full barrier atomic operation
> interface, I intend to add a rmb() here.

In the very nearby future (after I switch SPARC64 and MIPS to
libcompiler_rt), it should be possible to safely use C11's <stdatomic.h>
on all supported architectures. The C11 interface allows any operation
to be combined with any type of barrier.

Maybe we should simply migrate this code to use <stdatomic.h> then?

Greetings,
--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--CpBQqYjq/d0HQTAP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iQIcBAEBAgAGBQJPGFxtAAoJEG5e2P40kaK72fsP/iemke6oOFlBGnm/VCQjZenS
mxgJIRaqHjLHQ73aBn2mhn+aB8tpR72TXG2lUW8TYth9af2jewf1o2yeRCH2KBUC
6pwfRvlnD2zm+9U+M2HyfXVpZqjrvsipRzJYEzMqupv0US0LOp9QQqtS6yGLTC9N
hvq7VdxBfbdW5M3fuew7mrccU8F0BVuGivK6AMQByBnC1ob5Ut9TtinZqLxVDmng
VrEGp1jgSC69NAc7+1Kt18Ozp0a0CskPkjV2TGihwdbuLIfkc2LoEH/yI2F/GWjw
EhrcYTvCxz/VU9O29RvX2wJjR5laXC/zk7xD3vjpc+dPbmw7E1xnXeixx6MUowBt
YlFG/OrgE8yOqKFJu+LkdRIl1y0Lh/39kciZTeMS7WuQw/Clyv5eSUNeVoqbLXE8
Z9DTGiy7nj62j1DjOulGpigoKyHFavMyWuJxthraM+nWPiedfqWiMw3aHj1Ebs/Q
VXy3wsAtGUbICB7wPyXCVY/nzktzP0Ols5raHESeQavzCl83BMPWym6TlNw66B4t
uR+3sSqWCO3L/OULLCoGXuEY66GSzr28S8nXN6E6DIYsjtfB4DCh+n5Jemc9YD1P
ylHOP2nNDJTaVX0JYkGpLs5Yfhd+x8ScZH5Q/dRC0VPpv+inNwc/oZ3lmVDh0AL9
N9aWEJ28JeZ4DJOa/6Me
=CDHV
-----END PGP SIGNATURE-----

--CpBQqYjq/d0HQTAP--



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