Re: [Spice-devel] [PATCH spice-server 16/16] red-worker: Start processing commands as soon as possible

2017-09-12 Thread Christophe Fergeau
On Tue, Sep 12, 2017 at 03:37:43AM -0400, Frediano Ziglio wrote: > > > > On Mon, Sep 11, 2017 at 04:03:18AM -0400, Frediano Ziglio wrote: > > > ping > > > > > > > > > > > When the worker is started it could take a while to start > > > > processing commands. > > > > The reason is that the

Re: [Spice-devel] [PATCH spice-server 16/16] red-worker: Start processing commands as soon as possible

2017-09-12 Thread Frediano Ziglio
> > On Mon, Sep 11, 2017 at 04:03:18AM -0400, Frediano Ziglio wrote: > > ping > > > > > > > > When the worker is started it could take a while to start > > > processing commands. > > > The reason is that the dispatcher handler is called after > > > the worker so GLib will receive a FALSE answer

Re: [Spice-devel] [PATCH spice-server 16/16] red-worker: Start processing commands as soon as possible

2017-09-11 Thread Christophe Fergeau
On Mon, Sep 11, 2017 at 04:03:18AM -0400, Frediano Ziglio wrote: > ping > > > > > When the worker is started it could take a while to start > > processing commands. > > The reason is that the dispatcher handler is called after > > the worker so GLib will receive a FALSE answer to both > >

Re: [Spice-devel] [PATCH spice-server 16/16] red-worker: Start processing commands as soon as possible

2017-09-11 Thread Frediano Ziglio
ping > > When the worker is started it could take a while to start > processing commands. > The reason is that the dispatcher handler is called after > the worker so GLib will receive a FALSE answer to both > prepare and check callbacks of the RedWorkerSource causing > GLib to wait till another

[Spice-devel] [PATCH spice-server 16/16] red-worker: Start processing commands as soon as possible

2017-09-04 Thread Frediano Ziglio
When the worker is started it could take a while to start processing commands. The reason is that the dispatcher handler is called after the worker so GLib will receive a FALSE answer to both prepare and check callbacks of the RedWorkerSource causing GLib to wait till another event is received.