From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGVq-00075A-6Q for qemu-devel@nongnu.org; Mon, 18 Jan 2016 15:34:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLGVn-0005Mf-1B for qemu-devel@nongnu.org; Mon, 18 Jan 2016 15:34:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGVm-0005Mb-S4 for qemu-devel@nongnu.org; Mon, 18 Jan 2016 15:34:50 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 745628DFE9 for ; Mon, 18 Jan 2016 20:34:50 +0000 (UTC) References: <1453110880.23289.7.camel@redhat.com> From: Eric Blake Message-ID: <569D4C69.5070304@redhat.com> Date: Mon, 18 Jan 2016 13:34:49 -0700 MIME-Version: 1.0 In-Reply-To: <1453110880.23289.7.camel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gUcxJi4sKL040s8fGwKGGWsKGKqlMrUPv" 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: Gerd Hoffmann , qemu-devel Cc: David Airlie , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gUcxJi4sKL040s8fGwKGGWsKGKqlMrUPv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/18/2016 02:54 AM, Gerd Hoffmann wrote: > Hi folks, >=20 > I'm starting to investigate if and how we can move the user interface > code into its own thread instead of running it in the iothread and > therefore avoid blocking the guest in case some UI actions take a littl= e > longer. 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). >=20 > Suggestions how to tackle that? Sadly, I don't have good suggestions here, as I've never done much in the way of UI coding. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --gUcxJi4sKL040s8fGwKGGWsKGKqlMrUPv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWnUxpAAoJEKeha0olJ0NqRHkIAJnH7oxNbFiTrsBXuiApnl1Y yJrJIUe5oZErAo+PiJFDv41fI4x73AwuMwMqtIJNrKwK7gCfI9KVIuWJa2MhXekS 4UVAfqXgDjXS4j5TVHvkEr85pp8YofCBPE4p9CCKR5+1fyPG14UgcES8V4QyChZu lfcZIWg2RsRh0lE1ZEe9vOiULkh+8c3JJ3/puDOJ86IhND3Fr20SqO+a1RHScaCo S+ULVxMpRwruLuCZ7xiCoAUPgUAzUXoo02GNmW7CUHNShm/QY9X7HAZnvx8E4U9P ecbwGyoGoSQcKNiPV9brIOKkZ7C0w3OGddgKz4RHsL2apxiW1Sks+QBA5rt0zB8= =jP1P -----END PGP SIGNATURE----- --gUcxJi4sKL040s8fGwKGGWsKGKqlMrUPv--