Patch ping
Paolo Carlini
pcarlini@suse.de
Fri Oct 7 09:52:00 GMT 2005
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.
More information about the Libstdc++
mailing list