]> git.ipfire.org Git - thirdparty/qemu.git/commit - main-loop.c
main-loop: replace WaitForMultipleObjects with g_poll
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Mar 2012 09:49:20 +0000 (10:49 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 7 Apr 2012 08:34:17 +0000 (08:34 +0000)
commit06ac7d49797daf8a5c05c7d25db0b205efda8e30
tree80a0cc976b4f73d6a677f27323fd047953a02552
parentd3385eb448e38f828c78f8f68ec5d79c66a58b5d
main-loop: replace WaitForMultipleObjects with g_poll

On w32, glib implements g_poll using WaitForMultipleObjects
or MsgWaitForMultipleObjects.  This means that we can simplify
our code by switching to g_poll, and at the same time prepare for
adding back glib sources.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
main-loop.c