Paolo Bonzini b493317d34 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>
2014-08-29 10:46:58 +01:00
..
2014-08-29 10:46:58 +01:00
2014-08-22 15:06:33 +03:00
2014-06-23 11:00:12 -04:00
2014-08-18 14:39:10 -04:00
2014-06-27 11:19:31 +02:00
2014-06-23 11:01:25 -04:00
2014-08-15 14:49:50 +01:00
2014-08-25 00:16:06 +02:00