delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/15/08:00:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20030415115953.65188.qmail@web13901.mail.yahoo.com>
Date: Tue, 15 Apr 2003 04:59:53 -0700 (PDT)
From: Chet <digitalasp AT yahoo DOT com>
Subject: 1.3.22: bug in poll() - WinXP/all
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019