gcc/libstdc++-v3/include/ext
Paolo Carlini 1d3e6248e5 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
2006-09-02 08:31:45 +00:00
..
pb_ds
algorithm
array_allocator.h
bitmap_allocator.h
codecvt_specializations.h codevt_specializations.h (__iconv_adaptor): Use identifier _Tp instead of _T in template argument to avoid conflict. 2006-07-30 16:42:39 +00:00
debug_allocator.h
functional
hash_fun.h
hash_map
hash_set
hashtable.h
iterator
malloc_allocator.h
memory
mt_allocator.h re PR libstdc++/24469 (Possible race condition in mt_allocator causing SIGSEGV) 2006-09-02 08:31:45 +00:00
new_allocator.h
numeric
pod_char_traits.h
pool_allocator.h
rb_tree
rc_string_base.h re PR libstdc++/28765 (__gnu_cxx::__vstring::clear() is slow) 2006-08-18 15:42:05 +00:00
rope PR libstdc++/19664 round 3 2006-07-28 04:57:34 +00:00
ropeimpl.h PR libstdc++/19664 round 3 2006-07-28 04:57:34 +00:00
slist
sso_string_base.h re PR libstdc++/28765 (__gnu_cxx::__vstring::clear() is slow) 2006-08-18 15:42:05 +00:00
stdio_filebuf.h
stdio_sync_filebuf.h
typelist.h typelist.h (typelist_append): To append_typelist. 2006-06-27 19:20:06 +00:00
vstring_fwd.h
vstring_util.h
vstring.h re PR libstdc++/28765 (__gnu_cxx::__vstring::clear() is slow) 2006-08-18 15:42:05 +00:00
vstring.tcc