From 35648b45723a961faed4eb48ddbbc275ea11a34a Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Thu, 24 Apr 2008 14:40:29 +0000 Subject: acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Check for set of all used __sync builtins, in two sizes. 2008-04-24 Benjamin Kosnik * 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 --- libstdc++-v3/doc/xml/manual/concurrency.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libstdc++-v3/doc') 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. - If builtins are possible, _GLIBCXX_ATOMIC_BUILTINS -will be defined. + +If builtins are possible for bool-sized integral types, +_GLIBCXX_ATOMIC_BUILTINS_1 will be defined. +If builtins are possible for int-sized integral types, +_GLIBCXX_ATOMIC_BUILTINS_4 will be defined. -- cgit v1.1