Re: [Spice-devel] [PATCH spice-server] event loop: improve implementation of watches

2019-07-23 Thread Frediano Ziglio
> > Hi, > > On Wed, Jun 19, 2019 at 04:56:41PM +0100, Frediano Ziglio wrote: > > Avoid having to destroy and create a new GSource every time > > we change event mask. > > Interfaces required for this patch are available since GLib 2.36. > > on Windows GPollFD::fd can be an HANDLE but not a socket

Re: [Spice-devel] [PATCH spice-server] event loop: improve implementation of watches

2019-07-23 Thread Victor Toso
Hi, On Wed, Jun 19, 2019 at 04:56:41PM +0100, Frediano Ziglio wrote: > Avoid having to destroy and create a new GSource every time > we change event mask. > Interfaces required for this patch are available since GLib 2.36. > on Windows GPollFD::fd can be an HANDLE but not a socket. > > Signed-off

Re: [Spice-devel] [PATCH spice-server] event loop: improve implementation of watches

2019-07-23 Thread Frediano Ziglio
ping > > ping > > > > > Avoid having to destroy and create a new GSource every time > > we change event mask. > > Interfaces required for this patch are available since GLib 2.36. > > on Windows GPollFD::fd can be an HANDLE but not a socket. > > > > Signed-off-by: Frediano Ziglio > > --- > >

Re: [Spice-devel] [PATCH spice-server] event loop: improve implementation of watches

2019-07-05 Thread Frediano Ziglio
ping > > Avoid having to destroy and create a new GSource every time > we change event mask. > Interfaces required for this patch are available since GLib 2.36. > on Windows GPollFD::fd can be an HANDLE but not a socket. > > Signed-off-by: Frediano Ziglio > --- > server/event-loop.c | 97 +

[Spice-devel] [PATCH spice-server] event loop: improve implementation of watches

2019-06-19 Thread Frediano Ziglio
Avoid having to destroy and create a new GSource every time we change event mask. Interfaces required for this patch are available since GLib 2.36. on Windows GPollFD::fd can be an HANDLE but not a socket. Signed-off-by: Frediano Ziglio --- server/event-loop.c | 97 ++