]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: Really send non-blocking calls while waiting for another call
authorJiri Denemark <jdenemar@redhat.com>
Mon, 28 Nov 2011 16:41:25 +0000 (17:41 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 29 Nov 2011 07:43:00 +0000 (08:43 +0100)
commit4e511fcc18aa4929ee0b46d91251dd4a2fb2a194
tree45dd2fff4c1ad9d121c013b0894e9311b9556688
parent2d0fc93fdd6de6d1bc2d3b1b2af69bdd51205f79
rpc: Really send non-blocking calls while waiting for another call

When another thread was dispatching while we wanted to send a
non-blocking call, we correctly queued the call and woke up the thread
but the thread just threw the call away since it forgot to recheck if
its socket was writable.
src/rpc/virnetclient.c