Urgent need for advice: POLLHUP and sockets
michael.cardenas at lindows.com
Tue Apr 16 11:43:02 CDT 2002
> My first reaction to this was to comment out the above call to
> set_select_events() and continue listening to events from the socket.
> However, due to the semantics of poll(), this will cause a POLLHUP event
> on this socket for each and every iteration of the wineserver's main select
> loop, putting the server basically into a busy-wait state.
well, can you just ignore the POLLHUP events in the server for that socket
after the first one is received?
More information about the wine-devel