aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2008-04-24 14:40:29 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2008-04-24 14:40:29 +0000
commit35648b45723a961faed4eb48ddbbc275ea11a34a (patch)
tree03da5aa428d1a4a4c5e6fb87e04788de9aada685 /libstdc++-v3/doc
parent2aa43509aefeccdde7bc02235c8337504da07b49 (diff)
downloadgcc-35648b45723a961faed4eb48ddbbc275ea11a34a.zip
gcc-35648b45723a961faed4eb48ddbbc275ea11a34a.tar.gz
gcc-35648b45723a961faed4eb48ddbbc275ea11a34a.tar.bz2
acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of all used __sync builtins, in two sizes.
2008-04-24 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of all used __sync builtins, in two sizes. * config.h.in: Regenerate. * configure: Regenerate. * src/atomic.cc: Use _GLIBCXX_ATOMIC_BUILTINS_1. * include/ext/atomicity.h: Use _GLIBCXX_ATOMIC_BUILTINS_4. * libsupc++/guard.cc: Use _GLIBCXX_ATOMIC_BUILTINS_4. * doc/xml/manual/concurrency.xm: Update docs. From-SVN: r134629
Diffstat (limited to 'libstdc++-v3/doc')
-rw-r--r--libstdc++-v3/doc/xml/manual/concurrency.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/doc/xml/manual/concurrency.xml b/libstdc++-v3/doc/xml/manual/concurrency.xml
index b21d458..7efc295 100644
--- a/libstdc++-v3/doc/xml/manual/concurrency.xml
+++ b/libstdc++-v3/doc/xml/manual/concurrency.xml
@@ -214,8 +214,11 @@ usage vary depending on the target hardware and the flags used during
compile.
</para>
-<para> If builtins are possible, <code>_GLIBCXX_ATOMIC_BUILTINS</code>
-will be defined.
+<para>
+If builtins are possible for bool-sized integral types,
+<code>_GLIBCXX_ATOMIC_BUILTINS_1</code> will be defined.
+If builtins are possible for int-sized integral types,
+<code>_GLIBCXX_ATOMIC_BUILTINS_4</code> will be defined.
</para>