@davidbaron setLocale is thread safe everywhere.
1
Replying to @rcabanier
@rcabanier Sure, setlocale() racing across threads might not crash. But if thread 1 changes locale temporarily, thread 2 gets it too.

Dec 23, 2012 · 10:00 PM UTC

1
Replying to @davidbaron
@davidbaron I thought setlocale was per thread. Time for some research...