qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] RFC: running the user interface in a thread ...


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] RFC: running the user interface in a thread ...
Date: Tue, 19 Jan 2016 13:38:33 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

* Gerd Hoffmann (address@hidden) wrote:
>   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).

That does feel safer, if you can find an efficient way to do the graphics.
A lot less code running with the privs of the qemu process.

Dave

> 
> cheers,
>   Gerd
> 
> 
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

[Prev in Thread] Current Thread [Next in Thread]