PATCH (libstdc++-v3 mainline): Re-enable i386/atomicity.h
Martin v. Löwis
martin@v.loewis.de
Tue May 6 19:28:00 GMT 2003
Benjamin Kosnik <bkoz@redhat.com> writes:
> >Most interestingly, IMO, is the usage of these operations in
> >basic_string. It would be interesting to find out how often atomic_add
> >is used in an application that makes intense use of std::string.
>
> This is also of interest to me. I think that Paolo has recently found
> some MT string tests, so maybe this will be answered more definitively
> in the future. Perhaps he can cc you on his results.
I would certainly be interested. I think it might be best to
instrument atomic_add with a global counter (protected by a mutex :-),
then run some applications with that instrumented library. If
possible, recompilation of, say, KDE, should be attempted.
Regards,
Martin
More information about the Gcc-patches
mailing list