r116660 - in /trunk/libstdc++-v3: ChangeLog inc...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Sat Sep 2 08:31:00 GMT 2006


Author: paolo
Date: Sat Sep  2 08:31:45 2006
New Revision: 116660

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116660
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/mt_allocator.h
    trunk/libstdc++-v3/src/mt_allocator.cc



More information about the Libstdc++-cvs mailing list