Re: [PATCH] Use thread-safe locale functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux