13 Apr
2010
13 Apr
'10
5:25 p.m.
Le mardi 13 avril 2010 18:19:50 Clemens Ladisch, vous avez écrit :
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.
And you're suggesting what? That we continue to let alsa-lib crash programs that use it?
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis