Re: >256 fd patch...

Dean Gaudet (dgaudet-list-linux-kernel@arctic.org)
Thu, 27 Mar 1997 19:00:10 -0800 (PST)


Sure if all you're doing is checking fds you will probably go with a
non-zero timeout. But there are times when you've got other things to
do... other processing that you can do, and you're just popping in to see
if anything has happened with stuff you're trying to do asynchronously.

Dean

On Tue, 25 Mar 1997, mdean wrote:
> When you guys say "poll for data" are you implying that a timeout of 0 is
> passed to select? I don't see how that is useful, isn't that the equivalent
> of having the descriptors set non-blocking and just going in a loop trying
> to read single characters from them?