mt_allocator issues.

Dhruv Matani dhruvbird@gmx.net
Sat Mar 13 10:03:00 GMT 2004


Hello,

Form the comments at the stat of the file:
 /**
   *  This is a fixed size (power of 2) allocator which - when
   *  compiled with thread support - will maintain one freelist per
   *  size per thread plus a "global" one. Steps are taken to limit
   *  the per thread freelist sizes (by returning excess back to
   *  "global").

But, it seems that currently, it is maintaining a freelist per size per
thread per type on which it is being instantiated.

Ok, I may be wrong, but just a hunch.

Is this what was intended?






-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/

Proud to be a Vegetarian.
http://www.vegetarianstarterkit.com/
http://www.vegkids.com/vegkids/index.html



More information about the Libstdc++ mailing list