This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: notes on current atomics config and usage


Benjamin Kosnik wrote:

Hang on.

I promise to be careful here!


Ok, and sorry about my "nervousness". Anyway, besides the wrong form og my messages I think at least part of the content is right, I hope I said everything in a clear way at least.

This patch isn't right either, although closer. Instead, I will modify to do the sane thing:

1) probe for builtins, if found, use
2) if not, look for atomics config, if found, use
3) fall back to mutex

This will keep our present behavior, but allow the builtins to be used
as they are added, without config changes.

About the performance test coverage issue: agreed.

Excellent thanks.

Do you want to add the "stupid testcase constructing and destroying a lot of strings"


Yes, I will later today. As I said, better than nothing.

Ciao,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]