rpc: Pass the buck only to the first available thread

This commit is contained in:
Jiri Denemark 2011-11-22 15:10:06 +01:00
parent dc62c22532
commit ebee52f52b

View File

@ -1102,7 +1102,7 @@ static void virNetClientIOEventLoopPassTheBuck(virNetClientPtr client, virNetCli
if (tmp != thiscall && tmp->haveThread) { if (tmp != thiscall && tmp->haveThread) {
VIR_DEBUG("Passing the buck to %p", tmp); VIR_DEBUG("Passing the buck to %p", tmp);
virCondSignal(&tmp->cond); virCondSignal(&tmp->cond);
break; return;
} }
tmp = tmp->next; tmp = tmp->next;
} }