Skip to content

Use stream.imbue to set/unset current locale in table_internal.hpp#126

Open
teoionescu wants to merge 1 commit intop-ranav:masterfrom
teoionescu:fixlocale
Open

Use stream.imbue to set/unset current locale in table_internal.hpp#126
teoionescu wants to merge 1 commit intop-ranav:masterfrom
teoionescu:fixlocale

Conversation

@teoionescu
Copy link
Copy Markdown

@teoionescu teoionescu commented Jan 20, 2025

In order to avoid potential race conditions of writing to / reading from std::locale::global from other threads (eg. when constructing other ostreams).

…eading friendly, avoiding potential race conditions on overwriting locale::global.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant