This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch ping


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]