This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] Make std::tr1::shared_ptr thread-safe.
Gabriel Dos Reis wrote:
>I don't think I agree. I vote for only one version. We don't need to
>send in something broken just to pretend to correct it in 4.0.1.
>
>
Why are you using the term "broken"?!? I don't think Alexander and Peter
used the term "broken" anywhere. It's just a matter of efficiency and,
as far as I'm concerned, not checking in invasive changes so close to
the release. Do you disagree with that?!? The only alternate solution I
would consider is simply stating in the 4.0 release notes that
share_pointer is not thread-safe. In any case (also in mainline, I mean)
a solution involving CAS is not possible for platforms that we support,
like 386 and old Sparc (as mentioned by Rth).
Paolo.