Subject: Re: poll(2) oddity
To: None <firstname.lastname@example.org>
From: Christophe Kalt <email@example.com>
Date: 07/07/2002 16:27:35
On Jul 07, Jaromir Dolecek wrote:
| This makes me curious - when do you legally need to pass more poll()
| entries than descriptors?[*] You are not checking any fd twice, are you?
i'm not checking the same fd twice, only leaving holes for fds
that may or may not be open depending on various things. in
the some cases, there are no holes, and the set if full.
anyhow, the number of entries i pass to poll() is less than
the number of max open files.