13 Apr
2010
13 Apr
'10
5:19 p.m.
RĂ©mi Denis-Courmont wrote:
setlocale() is not thread-safe. It can actually trigger a crash if another thread uses locale informations at the same time in the process. Library code should use POSIX newlocale/duplocale/uselocale/freelocale instead.
I don't think these functions are available in small embedded C libraries like dietlibc.
Regards, Clemens