This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
mt_allocator issues.
- From: Dhruv Matani <dhruvbird at gmx dot net>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Cc: Stefan Olsson <stefan at xapa dot se>
- Date: 13 Mar 2004 15:48:50 +0530
- Subject: mt_allocator issues.
- Organization:
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