This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] libstdc++ atomicity, x86 agnostic version
Paolo Carlini wrote:
It's needed something completely different, but basically *every real
world* test on a multi processor machine or in a MT environment can
only be negatively affected by not inlining the operations done at
construction and destruction time.
Of course non-MT performance is affected too (as soon as you construct
and destroy many times, basically, always in the real world ;), only, in
that case, one can conceivably remove completely the atomic operations.
Paolo.