qemu-e2k/util
Sangho Park 5a007547df glib: fix g_poll early timeout on windows
g_poll has a problem on Windows when using
timeouts < 10ms, in glib/gpoll.c:

/* If not, and we have a significant timeout, poll again with
 * timeout then. Note that this will return indication for only
 * one event, or only for messages. We ignore timeouts less than
 * ten milliseconds as they are mostly pointless on Windows, the
 * MsgWaitForMultipleObjectsEx() call will timeout right away
 * anyway.
 */
if (retval == 0 && (timeout == INFINITE || timeout >= 10))
  retval = poll_rest (poll_msgs, handles, nhandles, fds, nfds, timeout);

so whenever g_poll is called with timeout < 10ms it does
a quick poll instead of wait, this causes significant performance
degradation of QEMU, thus we should use WaitForMultipleObjectsEx
directly

Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-05-09 20:57:35 +02:00
..
acl.c
aes.c
bitmap.c
bitops.c
cache-utils.c
compatfd.c Add a 'name' parameter to qemu_thread_create 2014-03-09 21:09:38 +02:00
crc32c.c
cutils.c util: add qemu_ether_ntoa 2014-03-27 15:18:45 +05:30
envlist.c
error.c error: Remove some unused headers 2014-04-25 09:19:59 -04:00
event_notifier-posix.c
event_notifier-win32.c
fifo8.c util/fifo8: clear fifo head upon reset 2014-02-08 14:50:48 +00:00
getauxval.c
hbitmap.c
hexdump.c
host-utils.c target-ppc: Add ISA2.06 divde[o] Instructions 2014-03-05 03:06:39 +01:00
iov.c util/iov: Use qemu/sockets.h instead of conditional code 2014-03-03 09:46:27 +04:00
Makefile.objs rfifolock: add recursive FIFO lock 2014-03-13 14:42:21 +01:00
module.c util: Add 'static' attribute to function implementation 2014-03-27 19:22:48 +04:00
notify.c
osdep.c do not call g_thread_init() for glib >= 2.31 2014-05-07 21:00:43 +04:00
oslib-posix.c oslib-posix: Fix build on FreeBSD 2014-03-13 14:34:16 +00:00
oslib-win32.c glib: fix g_poll early timeout on windows 2014-05-09 20:57:35 +02:00
path.c init_paths: fix minor memory leak 2014-04-28 08:55:32 +04:00
qemu-config.c trivial patches for 2014-04-28 2014-04-28 13:43:17 +01:00
qemu-error.c error: Print error_report() to stderr if using qmp 2014-04-25 09:19:58 -04:00
qemu-openpty.c
qemu-option.c qerror.h: Remove QERR defines that are only used once 2014-04-25 09:19:59 -04:00
qemu-progress.c
qemu-sockets.c
qemu-thread-posix.c Detect pthread_setname_np at configure time 2014-03-27 17:48:11 +02:00
qemu-thread-win32.c Detect pthread_setname_np at configure time 2014-03-27 17:48:11 +02:00
qemu-timer-common.c
readline.c readline: Sort completions before printing them. 2014-05-07 21:00:44 +04:00
rfifolock.c rfifolock: add recursive FIFO lock 2014-03-13 14:42:21 +01:00
throttle.c
unicode.c
uri.c