From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLVv0-0000RX-9M for qemu-devel@nongnu.org; Tue, 19 Jan 2016 08:01:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLVux-0004H1-2e for qemu-devel@nongnu.org; Tue, 19 Jan 2016 08:01:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLVuw-0004Gr-U3 for qemu-devel@nongnu.org; Tue, 19 Jan 2016 08:01:51 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id BFF9242E5D6 for ; Tue, 19 Jan 2016 13:01:49 +0000 (UTC) Message-ID: <1453208507.18326.77.camel@redhat.com> From: Gerd Hoffmann Date: Tue, 19 Jan 2016 14:01:47 +0100 In-Reply-To: <569D4C69.5070304@redhat.com> References: <1453110880.23289.7.camel@redhat.com> <569D4C69.5070304@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] RFC: running the user interface in a thread ... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: David Airlie , =?ISO-8859-1?Q?Marc-Andr=E9?= Lureau , qemu-devel Hi, > That, and so the UI can use localization without corrupting other > threads that MUST use the C locale (QMP parsing/output of floating point > is particularly important to get right with '.' instead of ',' for a > decimal separator). A quick look at the setlocale manpage doesn't make clear whenever threads can have different locales or not. Related: Possibly we should move UIs to another *process* instead? At least the ones which use a UI toolkit (i.e. sdl, gtk, cocoa). cheers, Gerd