← Back to team overview

kicad-developers team mailing list archive

Re: LOCALE_IO thread-local

 

Le 21/06/2019 à 23:25, Seth Hillbrand a écrit :
> Hi Devs-
> 
> We currently have an RAII locale switch (LOCALE_IO) that swaps the
> global locale to allow floating point handling with decimal points
> instead of a commas.  Because it changes the global locale, we need to
> be very careful about allowing the user interface to update during the
> time that it is temporarily set.
> 
> The attached patch moves the locale setting into a thread-local setting,
> allowing us to use standard threading and UI updates.
> 
> There are no functionality changes in this patch.  This is merely a
> change in the calling structure that will allow future cleaning of the
> LOCALE_IO distribution in the code.
> 
> I'd greatly appreciate any windows testing.
> 
> Thanks-
> Seth

Hi Seth,

What is the status of this change?

-- 
Jean-Pierre CHARRAS


Follow ups

References