Re: Gtk+ print support - request for feedback
- From: Owen Taylor <otaylor redhat com>
- To: Marco Barisione <barisione gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Gtk+ print support - request for feedback
- Date: Tue, 07 Mar 2006 17:46:01 -0500
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]