mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
netlink-socket: Use poll_immediate_wake() on Windows.
We have not yet tested the wakup via pending IRP functionality on Windows yet. Hence we use poll_immediate_wake(). Signed-off-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Eitan Eliahu <eliahue@vmware.com>
This commit is contained in:
@@ -1174,8 +1174,9 @@ nl_sock_wait(const struct nl_sock *sock, short int events)
|
||||
#ifdef _WIN32
|
||||
if (sock->overlapped.Internal != STATUS_PENDING) {
|
||||
pend_io_request(sock);
|
||||
/* XXX: poll_wevent_wait(sock->overlapped.hEvent); */
|
||||
}
|
||||
poll_fd_wait(sock->handle, events);
|
||||
poll_immediate_wake(); /* XXX: temporary. */
|
||||
#else
|
||||
poll_fd_wait(sock->fd, events);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user