Fw: [patch] Make std::tr1::shared_ptr thread-safe.

Paolo Carlini pcarlini@suse.de
Sun Apr 3 18:02:00 GMT 2005


Peter Dimov wrote:

> Per Alexander's suggestion:

[snip]

> is likely to "fail faster".

Many thanks again to both of you.

Note that locale are also important, maybe more: in the v7-branch we are
looking into a non-refcounted option for basic_string. On the other
hand, however, it is *not* obvious how *much* thread-safety we really
want for locale: after all, given the standard in force, it's only QoI.
Peter, in case you are going to audit locale, besides technical anlyses
of the specific usages of exchange_and_add & co, I'd like to also know
your opinion about that, much *more* general issue.

Paolo.



More information about the Libstdc++ mailing list