This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH (libstdc++-v3 mainline): Re-enable i386/atomicity.h
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
> [For the record, the ABI change was actually introduced Nov 2002 to
> fix the usage of a non-i386 instruction in the i386 configuration.]
Certainly. I didn't mean to imply that this change broke the ABI.
> Well, OK, thanks for running that test. But, as you know, the use of
> an atomic is typically buried inside of a use-case that does a
> non-trivial amount of work (typically guarding the allocation of a
> memory resource, etc.).
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.
Regards,
Martin