This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: stl / pthreads leak, patch
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: desertcoder at cox dot net
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 15 Aug 2002 17:17:03 -0500 (CDT)
- Subject: Re: stl / pthreads leak, patch
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
> I realize now that neither test case I have provided demonstrates
> the problem well. I am not sure how to demonstrate the problem with
> a small program. It is possible that it can not be demonstrated with
> a small program.
Then feel free to provide a test case of *any* size (if truly massive
do not put it on the list, rather file a GNATs PR at
http://gcc.gnu.org and upload it as a PR attachment). I only ask that
it be self-contained within one source file, if at all possible.
Also, we can't agreed to look at any code which may not be made public
so please trim any IPR you wish to retain from the test case.
If you are willing to produce such a case, then I personally commit to
looking at it.
> [How to disable cache]
Recompile and reinstall the entire library after editing
libstdc++-v3/include/bits/c++config to add a macro define for
__USE_MALLOC . There is no other supported technique to disable this
caching behavior.
Regards,
Loren