[Spice-devel] [PATCH 16/23] server/red_worker: on handle_events do a push, not a send

Marc-André Lureau marcandre.lureau at gmail.com
Sat Feb 12 11:56:27 PST 2011


Ack,

It would be nice if you could make a rationale about it. I understand
red_channel_push() is higher level than red_channel_send(). Why do you
need this change?

On Fri, Feb 11, 2011 at 6:23 PM, Alon Levy <alevy at redhat.com> wrote:
> ---
>  server/red_worker.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index b28709f..c663424 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -9130,7 +9130,7 @@ static void handle_channel_events(EventListener *in_listener, uint32_t events)
>     }
>
>     if (channel->send_data.blocked) {
> -        red_channel_send(channel);
> +        red_channel_push(channel);
>     }
>  }
>
> --
> 1.7.4
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list