[PATCH 01/10] server: allow polling for no events in set_fd_events

Alexandre Julliard julliard at winehq.org
Tue Apr 6 13:03:49 CDT 2010


Mike Kaplinskiy <mike.kaplinskiy at gmail.com> writes:

> Would allowing adding the fd to the poll loop after it has been
> removed be more sane? Otherwise we have to resort to ugly things like
> sock_try_event (which only half work).

I don't think that makes sense either. The error condition is not going
to go away so you can no longer poll on it anyway, you really need to
close the socket and create a new one.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list