Urgent need for advice: POLLHUP and sockets

Michael Cardenas michael.cardenas at lindows.com
Tue Apr 16 13:55:30 CDT 2002


Martin Wilck wrote:

>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.
>
Could you use the set_select_events to say that you don't want any more 
POLLHUP events?

-- 
michael cardenas
lead windows compatibility engineer
www.lindows.com

"Be the change you want to see in the world."
-Mahatma Gandhi








More information about the wine-devel mailing list