This is the mail archive of the
mailing list for the Cygwin project.
Re: poll function in cygwin
On Tue, Aug 27, 2002 at 01:27:03PM +0400, Egor Duda wrote:
> Tuesday, 27 August, 2002 Corinna Vinschen email@example.com wrote:
> CV> On Tue, Aug 27, 2002 at 02:33:40PM +0700, Nguyen Minh Sang wrote:
> >> On cygwin, function:
> >> int poll(struct pollfd *ufds, unsigned int nfds, int timeout);
> >> The maximum of nfds = ?
> CV> Theoretically there is no maximum. In practice the maximum is a
> CV> function of the memory available.
> 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.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html