[Spice-devel] Spice bug62033, Gnome bug 680195 rework: new inhibitors for desktop effects
Marc-André Lureau
mlureau at redhat.com
Mon Dec 16 02:12:24 PST 2013
Hi
----- Original Message -----
> Hi everyone,
>
> As we've decided a while ago (ITT), I'm looking into implementing a
> DBus interface for spice-vdagent (session-level) using GDbus API from
> GIO, and have run into following shortcomings:
>
> 1. vdagent is single-threaded and blocks on select() for udscs I/O
> 2. vdagent isn't GLib-based
>
> A simplest solution I'm going to try first:
> 1. Add GLib main loop in the vdagent main thread
> 2. Create a separate GThread for all current I/O
>
> Will such change be acceptable?
>
> Next steps I can think of:
> 1. Use GSource to attach current udscs I/O to GMainLoop
> 2. Move most of current udscs messages to DBus - probably need to keep
> using udscs for xfer for performance reasons.
>
> What do you think?
Using GLib for main loop would be a good step forward.
I am not sure using a separate thread for current IO is needed, but it might make it easier for a first step?
thanks!
More information about the Spice-devel
mailing list