vhost-user-test: use g_cond_broadcast
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Dec 2018 15:32:19 +0000 (16:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:48:40 +0000 (16:48 +0100)
commit04ad1bf68e22dd5de8249ffd4c4e5886d50f3f95
treea534002d6ade69a912bb3c4f18421b56bd2ba870
parent1c3d45df5e94042d5fb2bb31416072563ab30e49
vhost-user-test: use g_cond_broadcast

g_cond_signal is rarely the right thing to do, it works now because
vhost-user-test only has two threads but it is not correct in general.
Fix it before adding more calls.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1543851204-41186-7-git-send-email-pbonzini@redhat.com>
tests/vhost-user-test.c