mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
win32/socket: introduce qemu_socket_unselect() helper
A more explicit version of qemu_socket_select() with no events. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Message-Id: <20230221124802.4103554-8-marcandre.lureau@redhat.com>
This commit is contained in:
parent
f5fd677ae7
commit
a4aafea261
3 changed files with 10 additions and 3 deletions
|
@ -169,6 +169,8 @@ static inline void qemu_funlockfile(FILE *f)
|
|||
bool qemu_socket_select(SOCKET s, WSAEVENT hEventObject,
|
||||
long lNetworkEvents, Error **errp);
|
||||
|
||||
bool qemu_socket_unselect(SOCKET s, Error **errp);
|
||||
|
||||
/* We wrap all the sockets functions so that we can
|
||||
* set errno based on WSAGetLastError()
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue