This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.3.22: bug in poll() - WinXP/all


I recently starting moving a project over from Redhat 7.x to Cygwin and found a
slight problem using poll() and a set of descriptor structs with POLLIN,
POLLOUT, and POLLPRI set. Using this combination or any two of those flags can
causes poll() to return an incorrect number of structs containing returned
events.

After looking through the source I noticed that poll() returns the value from
cygwin_select. This is incorrect as cygwin_select() returns the total number of
descriptors containing events for the send, recv, and except parts during the
select() call.





...Chet...

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]