Re: [Spice-devel] [PATCH 04/16] Use GQueue for RedCharDevice::send_queue

2016-04-20 Thread Jonathon Jongsma
On Wed, 2016-04-20 at 09:48 -0500, Jonathon Jongsma wrote: > On Wed, 2016-04-20 at 04:38 -0400, Frediano Ziglio wrote: > > > > > > From: Christophe Fergeau > > > > > > There was an extra RedCharDeviceMsgToClientItem type whose only > > > purpose was to manage a linked list of items to send. GQue

Re: [Spice-devel] [PATCH 04/16] Use GQueue for RedCharDevice::send_queue

2016-04-20 Thread Jonathon Jongsma
On Wed, 2016-04-20 at 04:38 -0400, Frediano Ziglio wrote: > > > > From: Christophe Fergeau > > > > There was an extra RedCharDeviceMsgToClientItem type whose only > > purpose was to manage a linked list of items to send. GQueue has the > > same purpose as this type in addition to being generic.

Re: [Spice-devel] [PATCH 04/16] Use GQueue for RedCharDevice::send_queue

2016-04-20 Thread Frediano Ziglio
> > From: Christophe Fergeau > > There was an extra RedCharDeviceMsgToClientItem type whose only > purpose was to manage a linked list of items to send. GQueue has the > same purpose as this type in addition to being generic. As the length of > the send queue is tracked, a GQueue is more appropr

[Spice-devel] [PATCH 04/16] Use GQueue for RedCharDevice::send_queue

2016-04-19 Thread Jonathon Jongsma
From: Christophe Fergeau There was an extra RedCharDeviceMsgToClientItem type whose only purpose was to manage a linked list of items to send. GQueue has the same purpose as this type in addition to being generic. As the length of the send queue is tracked, a GQueue is more appropriate than a GLi