[Spice-devel] About Spice and threads

Alon Levy alevy at redhat.com
Tue Oct 18 10:53:28 PDT 2011


On Tue, Oct 18, 2011 at 06:55:10PM +0200, Andrea Celestino wrote:
>    Hi,
>    I know that on the Spice Client side I have a different thread (spicec)
>    or a different context (spice-gtk) for each channel. How many threads
>    are there on the server side? I know
>    only that the Worker is a separated thread.
>    Thanks.

Right, so you get a worker thread per display, up to four displays, so
up to four threads. The rest of the work is done via callbacks from the
main thread, i.e. qemu's io thread (all the non display related activity
- keyboard/mouse, agent - such as copy paste, connection handshake).

> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list