|
|
Paolo Carlini wrote:
I'm guilty of having rushed Richard to post this patch (sorry!),
which, in general, I like indeed. However, it has to wait a bit for us
(v3 maintainers) to carefully weigh the delicate points raised in the
discussion thread with Hans about volatile & single-thread &
signals... Thanks for the patience, Richard.
... by the way, the patch, as-is, triggers a warning:
/home/paolo/Gcc/svn-dirs/trunk-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/atomicity.h:
In function '_Atomic_word __gnu_cxx::__exchange_and_add_single(volatile
_Atomic_word*, int)':
/home/paolo/Gcc/svn-dirs/trunk-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/atomicity.h:65:
warning: cast from type 'volatile _Atomic_word*' to type '_Atomic_word*'
casts away constness
/home/paolo/Gcc/svn-dirs/trunk-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/atomicity.h:
In function 'void __gnu_cxx::__atomic_add_single(volatile _Atomic_word*,
int)':
/home/paolo/Gcc/svn-dirs/trunk-build/i686-pc-linux-gnu/libstdc++-v3/include/bits/atomicity.h:73:
warning: cast from type 'volatile _Atomic_word*' to type '_Atomic_word*'
casts away constness
Paolo.
|
|