[Spice-devel] [spice-gtk v3 0/6] spice-channel: read/flush wire functions

Victor Toso victortoso at redhat.com
Tue Feb 28 11:21:45 UTC 2017


From: Victor Toso <me at victortoso.com>

Hi,

v2->v3:
* Breaking spice_channel_read_wire() into smaller changes. (teuf)

v2: https://lists.freedesktop.org/archives/spice-devel/2017-February/035455.html
v1: https://lists.freedesktop.org/archives/spice-devel/2017-February/035446.html

Cheers,

Victor Toso (6):
  spice-channel: move out non blocking logic of _read_wire()
  spice-channel: move out non blocking logic of _flush_wire()
  spice_channel_read_wire: prefer while(TRUE) instead of goto
  spice_channel_read_wire: move variables to internal scope
  spice_channel_read_wire: return earlier whenever is possible
  spice_channel_flush_wire: make it similar to _read_wire()

 src/spice-channel.c | 172 +++++++++++++++++++++++++++++++++-------------------
 1 file changed, 108 insertions(+), 64 deletions(-)

--
2.9.3



More information about the Spice-devel mailing list