diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-09-02 08:31:45 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-09-02 08:31:45 +0000 |
commit | 1d3e6248e59e6f7bca2c49ba367de9cc296837de (patch) | |
tree | fccd6471b2b07451f58ce618be89804c2617a96b /gcc | |
parent | b73aec4fa5506d3f657aede2e44f989a894cf7aa (diff) | |
download | gcc-1d3e6248e59e6f7bca2c49ba367de9cc296837de.zip gcc-1d3e6248e59e6f7bca2c49ba367de9cc296837de.tar.gz gcc-1d3e6248e59e6f7bca2c49ba367de9cc296837de.tar.bz2 |
re PR libstdc++/24469 (Possible race condition in mt_allocator causing SIGSEGV)
2006-09-02 Paolo Carlini <pcarlini@suse.de>
Richard Guenther <rguenther@suse.de>
PR libstdc++/24469
* src/mt_allocator.cc (__pool<true>::_M_reserve_block,
__pool<true>::_M_reclaim_block): Fix the logic to avoid
races, exploit atomic counters stored in second part of
the memory pointed by _M_used.
(__pool<true>::_M_initialize): Adjust _M_used allocation.
* include/ext/mt_allocator.h (__pool<true>::_Bin_record):
Update comment.
Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r116660
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions