delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | =?iso-8859-1?Q?Boris_Sch=E4ling?= <boriss AT web DOT de> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | RE: select() implementation question |
Date: | Tue, 20 Jun 2000 16:31:41 +0200 |
Message-ID: | <LOBBKDBPKEGJJFKNFHKBIECKDEAA.boriss@web.de> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
Importance: | Normal |
In-Reply-To: | <20000619201147.A936@cygnus.com> |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
> -----Original Message----- > From: cygwin-owner AT sourceware DOT cygnus DOT com > [mailto:cygwin-owner AT sourceware DOT cygnus DOT com]On Behalf Of Chris Faylor > Sent: Tuesday, June 20, 2000 2:12 AM > To: cygwin AT sourceware DOT cygnus DOT com > Subject: Re: select() implementation question > > [...] > Taking a quick glance at select.cc, I can see that cygwin select does > open a dummy socket. Possibly it is not closing something when it > returns. I really don't know. Ah, a dummy socket. Well, then I think this is not a bug but a feature: I guess this socket is used to jump back from select() whenever cygwin needs to do so. There are probably some things to do that can't wait until a socket is ready or the timer decreased to 0. I think this additional socket is used to have some sort of control and to interrupt select() in a proper way. However, I downloaded the source code of select(). I'll have a look when I have some time. BTW: Is anybody working already on an implementation of getaddrinfo(), gai_strerror() and freeaddrinfo()? Otherwise I will try. :-) Boris -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |