Skip to content

Update the locale thread-safely.#14

Open
tavianator wants to merge 1 commit intocjlin1:masterfrom
Maluuba:thread-safe-locale
Open

Update the locale thread-safely.#14
tavianator wants to merge 1 commit intocjlin1:masterfrom
Maluuba:thread-safe-locale

Conversation

@tavianator
Copy link
Contributor

setlocale() affects the entire process, potentially changing the locale
while another thread is executing. In POSIX.1-2008, a thread-safe
uselocale() function was added that affects only the current thread.
Use this function instead when it's available.

setlocale() affects the entire process, potentially changing the locale
while another thread is executing.  In POSIX.1-2008, a thread-safe
uselocale() function was added that affects only the current thread.
Use this function instead when it's available.
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