Signalling one thread on arriving stats data is not correct. In case 2 stat requests and empty stats cache one thread subscribes to the stats events and both wait arriving stats event. Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx> --- src/vz/vz_sdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index 51730be..50b21a8 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -4135,7 +4135,7 @@ vzCountersCacheEvent(vzCountersCachePtr cache, PRL_HANDLE event) cache->stats = event; /* thus we get own of event handle */ event = PRL_INVALID_HANDLE; - virCondSignal(&cache->cond); + virCondBroadcast(&cache->cond); } cleanup: -- 1.8.3.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list