On Thursday 25 November 2010 14:12:20 ext Marcel Holtmann, you wrote:
> Hi Remi,
> 
> > strerror() is not thread-safe, nor in the glibc implementation,
> > nor in the POSIX specification. In my experience, it will infrequently
> > crash when another thread uses locale data in any way, including
> > string formatting and such...
> 
> I have no problem with this ...
> 
> > Since the Huawei driver uses thread, we might as well avoid strerror().
> 
> ..., but what are you talking about? Where is it using threads?

Hmm, yeah. I misread the code. That comment is wrong.

-- 
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to