-
- Downloads
wineserver: Avoid spurious FD_WRITE on repeated calls to WSAEventSelect().
Repeated calls to WSAEventSelect() with FD_WRITE deliver spurious FD_WRITE events, as the flag isn't held, resulting in us unnecessarily polling the socket for writability, despite the fact FD_WRITE should only be delivered (1) initially on socket creation, and (2) after send[to]() fails with EWOULDBLOCK and buffer space becomes available. Signed-off-by:Damjan Jovanovic <damjan.jov@gmail.com> Signed-off-by:
Alexandre Julliard <julliard@winehq.org>
Loading
Please register or sign in to comment