Re: Gtk+ print support - request for feedback



On Tue, 2006-03-07 at 19:12 +0100, Marco Barisione wrote:
> Alexander Larsson wrote:
> >   locale_data = localeconv ();
> >   decimal_point = locale_data->decimal_point;
> > ...
> >       val = strtod (nptr, &fail_pos);
> 
> What happens if another thread calls setlocale() after localeconv() but 
> before strtod()?

No thread in a multithreaded program can call setlocale() after
initialization. Period.
					Owen





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