* Jonathan Wakely via Libstdc: > We could use strtod for a single-threaded target (i.e. > !defined(_GLIBCXX_HAS_GTHREADS) by changing the global locale using > setlocale, instead of changing the per-thread locale using uselocale.
This is not generally safe because the call to setlocale is still observable to applications in principle because a previous pointer returned from setlocale they have store could be invalidated. Thanks, Florian