Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 10:02:57 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Ed Schouten <ed@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r251804 - head/sys/sys
Message-ID:  <51C01431.8070600@FreeBSD.org>
In-Reply-To: <201306161048.r5GAmmkG082610@svn.freebsd.org>
References:  <201306161048.r5GAmmkG082610@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2WPORHAGTDABUCNJAOUXX
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2013-06-16 12:48, Ed Schouten wrote:
> Author: ed
> Date: Sun Jun 16 10:48:47 2013
> New Revision: 251804
> URL: http://svnweb.freebsd.org/changeset/base/251804
>=20
> Log:
>   Move _Atomic() into <sys/cdefs.h>.
>  =20
>   That way _Atomic() is defined next to all the other C11 keywords for
>   which we provide compatibility for pre-C11 compilers. While there, fi=
x
>   the definition to place "volatile" at the end. Otherwise pointer type=
s
>   will become "volatile T *" instead of "T * volatile".

Do you even need volatile? It seems the only place this has an effect
is initialisation, but there's not supposed to be any concurrent access
then, meaning the value isn't volatile at that point.


------enig2WPORHAGTDABUCNJAOUXX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iF4EAREIAAYFAlHAFDcACgkQfoCS2CCgtivUaQD/VZgkOWorJJc49cX6KR3r1LWE
qTvxX5OG8ZP7dgh54AIA/3+bSY9botZqO5Xim42fIJLonrVlGEMlaTKKimfTOydF
=OyJs
-----END PGP SIGNATURE-----

------enig2WPORHAGTDABUCNJAOUXX--



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