qemu-e2k/io
Paolo Bonzini a589720567 io: implement socket watch for win32 using WSAEventSelect+select
On Win32 we cannot directly poll on socket handles. Instead we
create a Win32 event object and associate the socket handle with
the event. When the event signals readyness we then have to
use select to determine which events are ready. Creating Win32
events is moderately heavyweight, so we don't want todo it
every time we create a GSource, so this associates a single
event with a QIOChannel.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-03-10 17:19:07 +00:00
..
Makefile.objs io: introduce helper for creating channels from file descriptors 2016-02-15 14:49:00 +00:00
channel-buffer.c io: convert QIOChannelBuffer to use uint8_t instead of char 2016-02-15 14:49:18 +00:00
channel-command.c io: remove checking of EWOULDBLOCK 2016-03-10 17:19:05 +00:00
channel-file.c io: remove checking of EWOULDBLOCK 2016-03-10 17:19:05 +00:00
channel-socket.c io: implement socket watch for win32 using WSAEventSelect+select 2016-03-10 17:19:07 +00:00
channel-tls.c io: Clean up includes 2016-02-04 17:41:30 +00:00
channel-util.c all: Clean up includes 2016-02-23 12:43:05 +00:00
channel-watch.c io: implement socket watch for win32 using WSAEventSelect+select 2016-03-10 17:19:07 +00:00
channel-websock.c io: Clean up includes 2016-02-04 17:41:30 +00:00
channel.c io: implement socket watch for win32 using WSAEventSelect+select 2016-03-10 17:19:07 +00:00
task.c io: Clean up includes 2016-02-04 17:41:30 +00:00