summaryrefslogtreecommitdiffstats
path: root/include/hw/m68k
diff options
context:
space:
mode:
authorPaolo Bonzini2014-07-09 11:53:10 +0200
committerStefan Hajnoczi2014-08-29 11:46:58 +0200
commitb493317d344357f7ac56606246d09b5604e54ab6 (patch)
tree70d229bfc876df17b21218be917394dd384cdb8a /include/hw/m68k
parentqemu-coroutine-io: fix for Win32 (diff)
downloadqemu-b493317d344357f7ac56606246d09b5604e54ab6.tar.gz
qemu-b493317d344357f7ac56606246d09b5604e54ab6.tar.xz
qemu-b493317d344357f7ac56606246d09b5604e54ab6.zip
aio-win32: add support for sockets
Uses the same select/WSAEventSelect scheme as main-loop.c. WSAEventSelect() is edge-triggered, so it cannot be used directly, but it is still used as a way to exit from a blocking g_poll(). Before g_poll() is called, we poll sockets with a non-blocking select() to achieve the level-triggered semantics we require: if a socket is ready, the g_poll() is made non-blocking too. Based on a patch from Or Goshen. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/hw/m68k')
0 files changed, 0 insertions, 0 deletions