Re: Gtk+ print support - request for feedback
- From: Owen Taylor <otaylor redhat com>
- To: Michael Sweet <mike easysw com>
- Cc: gtk-devel-list gnome org, Alexander Larsson <alexl redhat com>, Morten Welinder <mortenw gnome org>
- Subject: Re: Gtk+ print support - request for feedback
- Date: Mon, 06 Mar 2006 05:38:21 -0500
On Mon, 2006-03-06 at 08:27 -0500, Michael Sweet wrote:
> The man page for setlocale() says nothing about thread safety, but
> given how all of the other standard C calls work I'm frankly shocked
> that setting the locale in one thread affects the others. Is this
> just a bug on Linux, or is it a general problem on other operating
> systems?
Specified part of POSIX... I think the idea of the specifiers is that
you'd set the locale once at the beginning of the program for all
threads.
The GNU C library has a uselocale() (if I recall the name correctly)
that is thread specific, but that doesn't do much good for portable
code.
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]