[alsa-devel] [PATCH] Use thread-safe locale functions
Clemens Ladisch
clemens at ladisch.de
Tue Apr 13 17:19:50 CEST 2010
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
More information about the Alsa-devel
mailing list