summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-21 13:51:48 +0000
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-21 13:51:48 +0000
commit4aa48cf881b7d168f367e2a280789428970ccf06 (patch)
treec37e13744a23b3780fe8bdb3aaf2d908e43581d6 /libstdc++-v3/include
parent8e02d80e7cc6c93fafa72f5ff17a31df5b98d070 (diff)
downloadgcc-4aa48cf881b7d168f367e2a280789428970ccf06.tar.gz
Fix HLE example in manual
The HLE example in the manual only commits when using bool for the flag, because __atomic_clear only writes bool, and HLE requires the acquire and release to match. So when the example is copied with e.g. an int variable it does not commit and causes slower than expected performance. Some people are running into problems because of this. Switch it over to use __atomic_store. Also fix a minor typo nearby. gcc/: 2013-06-21 Andi Kleen <ak@linux.intel.com> * doc/extend.texi: Dont use __atomic_clear in HLE example. Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
0 files changed, 0 insertions, 0 deletions