← Back to team overview

kicad-developers team mailing list archive

Re: Locale fix in KiCAD is not working (breaks my build)

 

>> Yes, so that means OUTPUTFORMATTER::Print() is not thread safe
>> currently, 
>
> Rather, probably it is thread safe, but the locale change is not
> thread specific to my knowledge.



http://stackoverflow.com/questions/4057319/is-setlocale-thread-safe-function


Here again, the interface we have for

   IO_LOCALE    toggle;

could be an adequate means of hiding a mutex lock in the stairwell....

The quirky guy is able to remain disquised....   in the proper interface.








References