delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/27/21:58:49

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
Subject: Re: poll function in cygwin
From: Robert Collins <rbcollins AT cygwin DOT com>
To: cygwin AT cygwin DOT com
In-Reply-To: <20020827145458.GC10134@redhat.com>
References: <A220D2C5610C714BA00110F541A4ABD9012644CE AT home DOT fsoft DOT fpt DOT vn>
<20020827111431 DOT T5475 AT cygbert DOT vinschen DOT de>
<777081412 DOT 20020827132703 AT logos-m DOT ru>
<20020827115845 DOT U5475 AT cygbert DOT vinschen DOT de>
<20020827145458 DOT GC10134 AT redhat DOT com>
Date: 28 Aug 2002 11:58:20 +1000
Message-Id: <1030499901.13255.389.camel@lifelesswks>
Mime-Version: 1.0

--=-TMYw5XenJJDKJ/hn2YRy
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2002-08-28 at 00:54, Christopher Faylor wrote:
>> >>I was thinking that maximum number of handles which can be waited via
> >>WaitForMultipleObjects() is 64, thus limiting a number of handles that
> >>can be select()ed.  It's probably possible to work around such
> >>limitation in cygwin select() but either i've missed something or no
> >>such workaround was created in cygwin code.
> >
> >Ahem, no, you're right.
>=20
> Actually, it isn't that simple.  It depends on what you are waiting
> for.  For instance, if you are waiting for pipes, you can wait for
> an unlimited number of them.  If you ware waiting for sockets, I think
> that is also true.  If you are waiting for console handles, then yes,
> 64 is the maximum.

According to MSDN, Egor is right. I wouldn't be surprised if MS allowed
more 'silently' on new OS's though..

Rob


--=-TMYw5XenJJDKJ/hn2YRy
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9bC48I5+kQ8LJcoIRAnQdAJ9Qu1XhtGLtF021Dfi5hJcfQgi+igCfWd4x
cy74hfwE87yaYH7+5jVVV3A=
=Ie7V
-----END PGP SIGNATURE-----

--=-TMYw5XenJJDKJ/hn2YRy--

- Raw text -


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