[Spice-devel] [PATCH spice-streaming-agent 0/3] refactor the protocol I/O
Lukáš Hrázký
lhrazky at redhat.com
Tue Aug 21 09:46:29 UTC 2018
Ping...
On Tue, 2018-07-10 at 16:51 +0200, Lukáš Hrázký wrote:
> Hi all,
>
> the refactor continues, in this series I introduce the InboundMessage
> and OutboundMessage classes for the StreamPort I/O.
>
> 2/3 is heavily based on a previously posted patch by Christophe de
> Dinechin. It is a carbon copy for the important parts, though I changed a
> lot of small details and so didn't dare to retain the authorship.
> Christophe, I have no issue putting you as the author.
>
> 3/3, the Poll class, is more of a RFC, though it should be good to go.
> There is no reason for this generalization of the poll interface in
> current code, but the daemon patches by Frediano and also the cursor
> thread having a FD that could be used in the poll loop can put it to
> use.
>
> Lukáš Hrázký (3):
> Introduce InboundMessages for the StreamPort class
> Introduce OutboundMessages for the StreamPort class
> Wrap the polling mechanism in a Poll class
>
> src/Makefile.am | 2 +
> src/cursor-updater.cpp | 128 +++++++++++--------
> src/poll.cpp | 51 ++++++++
> src/poll.hpp | 56 +++++++++
> src/spice-streaming-agent.cpp | 229 ++++++++++------------------------
> src/stream-port.cpp | 70 ++++++++++-
> src/stream-port.hpp | 76 ++++++++++-
> 7 files changed, 396 insertions(+), 216 deletions(-)
> create mode 100644 src/poll.cpp
> create mode 100644 src/poll.hpp
>
More information about the Spice-devel
mailing list