r183582 - in /trunk/libstdc++-v3: ChangeLog inc...
rth@gcc.gnu.org
rth@gcc.gnu.org
Thu Jan 26 21:50:00 GMT 2012
Author: rth
Date: Thu Jan 26 21:50:52 2012
New Revision: 183582
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183582
Log:
libstdc++: Use __GCC_ATOMIC_TEST_AND_SET in atomic_flag.
* include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
(ATOMIC_FLAG_INIT): Initialize with 0, not false.
(atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/atomic_base.h
More information about the Libstdc++-cvs
mailing list