This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Patch ping
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Fri, 07 Oct 2005 11:53:20 +0200
- Subject: Re: Patch ping
- References: <m3r7b1b596.fsf@gossamer.airs.com>
Ian Lance Taylor wrote:
>[ Forgot to CC libstdc++ on this one ]
>
>Patch for 4.1 regression PR libstdc++/13583 (limited memory leak in
>threaded program):
> http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01550.html
>
>
Ian, I think your approach has a serious problem: we end up with
different mutexes in different translation units (locale_facets.tcc is
included byt <locale>) and this doesn't seem safe, in general.
I would be happy to be wrong, because the same approach would solve
another issue in our shared_ptr code, as you may have noticed. Is there
something I'm missing?
Thanks,
Paolo.