[libvirt] [PATCH 1/4] rpc: Pass the buck only to the first available thread
Daniel P. Berrange
berrange at redhat.com
Tue Nov 22 19:33:33 UTC 2011
On Tue, Nov 22, 2011 at 04:32:31PM +0100, Jiri Denemark wrote:
> ---
> src/rpc/virnetclient.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/rpc/virnetclient.c b/src/rpc/virnetclient.c
> index deeeaad..b518abd 100644
> --- a/src/rpc/virnetclient.c
> +++ b/src/rpc/virnetclient.c
> @@ -1102,7 +1102,7 @@ static void virNetClientIOEventLoopPassTheBuck(virNetClientPtr client, virNetCli
> if (tmp != thiscall && tmp->haveThread) {
> VIR_DEBUG("Passing the buck to %p", tmp);
> virCondSignal(&tmp->cond);
> - break;
> + return;
> }
> tmp = tmp->next;
> }
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list