Skip to content

Draft: gjs-util: make gjs_setlocale thread-safe

Ray Strode requested to merge make-setlocale-thread-local into master

All GJS programs are multi-threaded, so its bad that gjs_setlocale isn't thread safe.

This commit makes gjs_setlocale use uselocale to change the locale of the current thread instead of setlocale.

Merge request reports