https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71430
Bug ID: 71430 Summary: Consider having different global std::locale object per thread Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: redi at gcc dot gnu.org Target Milestone: --- Contention on the ref-counts of the global std::locale object could be avoided by having per-thread global locale objects. This is encouraged since C++11 by [locale] p9.