]> www.infradead.org Git - users/dwmw2/qemu.git/commit
win32/socket: introduce qemu_socket_select() helper
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 21 Feb 2023 12:47:51 +0000 (16:47 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 13 Mar 2023 11:23:37 +0000 (15:23 +0400)
commitf5fd677ae7cf7cfb07b12adbfd479c460ddc3ac5
tree20c527712fd1611992b572d4362a41011392349c
parent3ffef1a55ca3b55fa64d43cd35af5adb2c260463
win32/socket: introduce qemu_socket_select() helper

This is a wrapper for WSAEventSelect, with Error handling. By default,
it will produce a warning, so callers don't have to be modified
now, and yet we can spot potential mis-use.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-Id: <20230221124802.4103554-7-marcandre.lureau@redhat.com>
include/sysemu/os-win32.h
io/channel-socket.c
io/channel-watch.c
util/aio-win32.c
util/main-loop.c
util/oslib-win32.c