]> git.ipfire.org Git - thirdparty/qemu.git/commit
aio: avoid livelock behavior for Win32
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Nov 2012 14:59:43 +0000 (15:59 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 26 Nov 2012 15:37:06 +0000 (09:37 -0600)
commitb022b4a44abda9b6f89777b07e538be6f8f7aacb
tree930770a31ba76f6071b6f2d79423e2aa76fe2173
parent21022c92dc5095324ceb3effc068b5ff81642125
aio: avoid livelock behavior for Win32

The repeated calls to WaitForMultipleObjects may cause a livelock in aio_poll,
where no progress is made on bottom halves.  This patch matches the behavior
of the POSIX code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
aio-win32.c