Hans Boehm f0f66c0264 Have stdatomic.h punt to C++ atomic when possible
This is an alternate, somewhat simpler, fix that makes it safe to
include both <atomic> and <stdatomic.h> from C++ code in either order.
It means that C code consistently uses one implementation of atomics
and C++ another.  We still have to make sure that those two
implementations interoperate correctly at runtime; in particular,
any flavor of atomic object needs to be represented exactly like the
underlying type, with the proper alignment constraint.

Bug:17007799
Change-Id: Iffcfc5220d8fa150f89dd083a121b24d23f268fc
(cherry picked from commit 019d3958118b7dc3ec8444ad2accca50c268b737)
2014-08-15 11:42:36 -07:00
..
2014-05-13 18:08:29 -07:00
2014-01-03 15:58:40 -08:00
2014-07-30 16:18:03 -07:00
2014-07-15 16:49:30 -07:00
2014-06-06 15:05:58 -07:00
2014-06-24 19:03:31 -07:00
2010-01-15 15:57:02 -08:00
2014-02-24 20:22:11 +00:00
2014-06-05 23:19:15 -07:00
2014-02-10 13:31:13 -08:00
2014-04-18 21:48:57 +00:00
2010-01-15 15:01:44 -08:00
2014-07-24 15:14:06 -07:00
2014-06-06 16:49:39 -07:00
2014-01-09 13:54:49 -08:00
2014-07-29 14:20:37 -07:00
2014-06-23 08:30:40 -07:00
2010-06-11 14:39:39 -07:00
2014-03-11 19:13:25 -07:00
2014-05-06 15:44:14 +01:00
2014-04-08 19:37:38 -07:00