poll function in cygwin
Robert Collins
rbcollins@cygwin.com
Tue Aug 27 18:58:00 GMT 2002
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.
>
> 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
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQA9bC48I5+kQ8LJcoIRAnQdAJ9Qu1XhtGLtF021Dfi5hJcfQgi+igCfWd4x
cy74hfwE87yaYH7+5jVVV3A=
=Ie7V
-----END PGP SIGNATURE-----
More information about the Cygwin
mailing list