[Spice-devel] Is it possible to put spice channels into different threads?

陈炤 qishiyexu2 at 126.com
Fri Jun 12 08:26:29 UTC 2020


Hi,


Spice-gtk is now using co-routine to handle different channel connections. When a channel is handling data, other channels would have to wait, rather than handling synchronously.  That would bring us following issues:
 1. If some less important channels (like usb channels) are transfering big data, important channels (main-channel, display-channel,input-channel) will be affected.  
 2. When receiving big data like file transfering(G_IO_IN), send event (G_IO_OUT) will not be triggered.
 3. Flow control between different channels will be hard to do. 


Is is possible(and make sense) to put channels into different threads so they can synchronously receive & send msg, without affect each other?


BR,
Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20200612/35e3089c/attachment.htm>


More information about the Spice-devel mailing list