w32: Fix regression caused by new g_poll implementation
A message that is not in the archive (sent off-list or not yet received): [email protected]
Peter Maydell
Reviewed-byQuoted 11 lines · Stefan Weil
Commit
5a007547df76446ab891df93ebc55749716609bftried to fix a performance degradation caused by bad handling of small timeouts in the original implementation ofg_poll.Since that commit, hard disk I/O no longer works.
Instead of rewriting the
g_pollimplementation, this patch simply copies the original code (released under LGPL) from latest glib and only modifies it where needed (see comments in the code). URL of the original code:
https://git.gnome.org/browse/glib/tree/glib/gpoll.c
Quoted 6 lines
Signed-off-by Stefan Weil <[email protected]>---
v2: Adjust top-of-file comment to indicate which parts of the code use
a different license (LGPL2+ is incompatible with the original license used forutil/oslib-win32.c).
Oops, I'd forgotten about this (until I needed to do something with the Windows build ;-)). Are you planning a pullreq for it or do you want me to just apply it directly?
thanks
-- PMM
Am 19.06.2014 10:55, schrieb Peter Maydell:
Quoted 19 lines · Stefan Weil
Quoted 11 lines
Commit
5a007547df76446ab891df93ebc55749716609bftried to fix a performance degradation caused by bad handling of small timeouts in the original implementation ofg_poll.Since that commit, hard disk I/O no longer works.
Instead of rewriting the
g_pollimplementation, this patch simply copies the original code (released under LGPL) from latest glib and only modifies it where needed (see comments in the code). URL of the original code:
https://git.gnome.org/browse/glib/tree/glib/gpoll.cQuoted 6 lines
Signed-off-by Stefan Weil <[email protected]>---
v2: Adjust top-of-file comment to indicate which parts of the code use
a different license (LGPL2+ is incompatible with the original license used forutil/oslib-win32.c).
Quoted 8 lines
Reviewed-by Peter Maydell <[email protected]>Oops, I'd forgotten about this (until I needed to do something with the Windows build ;-)). Are you planning a pullreq for it or do you want me to just apply it directly?
thanks
-- PMM
Please apply it directly.
Thanks,
Stefan
Peter Maydell
AppliedQuoted 6 lines · Stefan Weil
Am 19.06.2014 10:55, schrieb Peter Maydell:
Quoted 3 lines
Oops, I'd forgotten about this (until I needed to do something with the Windows build ;-)). Are you planning a pullreq for it or do you want me to just apply it directly?
Please apply it directly.
Applied, thanks.
-- PMM