[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] VNC display support for QEMU

From: Johannes Schindelin
Subject: Re: [Qemu-devel] [PATCH] VNC display support for QEMU
Date: Sun, 30 Apr 2006 12:43:54 +0200 (CEST)


On Sat, 29 Apr 2006, Anthony Liguori wrote:

> I would have been more inclined to use LibVNCServer if it wasn't based 
> on threading.  I really wanted an asynchronous implementation of a VNC 
> server that didn't depend on threads.

AFAICT it does not. In vnc_refresh(), there is a call to rfbProcessEvents, 
which says to select() the socket(s) for 0 microseconds. Same thread.

Now, there is a facility in LibVNCServer to take advantage of pthreads, 
and in some applications it is actually better to run a background thread 
to handle all the VNC stuff. But it is not used in QEmu.


reply via email to

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