[Spice-devel] Spice bug62033, Gnome bug 680195 rework: new inhibitors for desktop effects
Fedor Lyakhov
fedor.lyakhov at gmail.com
Sun Dec 15 08:17:18 PST 2013
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?
--
Best regards,
Fedor
More information about the Spice-devel
mailing list