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

2020-06-12 Thread 陈炤
Hi Here is my experiment: I created a new port-channel to transfer data between vdagent and spice-gtk. I used a while loop to send 2kb data to gtk, gtk received and drop the data. In the mean time I used a timer(1ms) to send 2kb data to vdagent. Strange thing is that gtk will continually

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

2020-06-12 Thread Marc-André Lureau
Hi On Fri, Jun 12, 2020 at 12:57 PM 陈炤 wrote: > 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

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

2020-06-12 Thread 陈炤
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