Searched hist:a58972056776e2f2588aed5a2dc0db7cc28f80b1 (Results 1 – 4 of 4) sorted by relevance
/qemu/io/ |
H A D | channel-watch.c | a58972056776e2f2588aed5a2dc0db7cc28f80b1 Mon Mar 07 11:12:36 UTC 2016 Paolo Bonzini <pbonzini@redhat.com> 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>
|
H A D | channel.c | a58972056776e2f2588aed5a2dc0db7cc28f80b1 Mon Mar 07 11:12:36 UTC 2016 Paolo Bonzini <pbonzini@redhat.com> 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>
|
H A D | channel-socket.c | a58972056776e2f2588aed5a2dc0db7cc28f80b1 Mon Mar 07 11:12:36 UTC 2016 Paolo Bonzini <pbonzini@redhat.com> 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>
|
/qemu/include/io/ |
H A D | channel.h | a58972056776e2f2588aed5a2dc0db7cc28f80b1 Mon Mar 07 11:12:36 UTC 2016 Paolo Bonzini <pbonzini@redhat.com> 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>
|