Date: Mon, 16 Nov 1998 22:08:02 -0700 From: Nate Williams <nate@mt.sri.com> To: Terry Lambert <tlambert@primenet.com> Cc: bakul@torrentnet.com (Bakul Shah), hackers@FreeBSD.ORG Subject: Re: Supporting more than FD_SETSIZE fd's Message-ID: <199811170508.WAA22595@mt.sri.com> In-Reply-To: <199811170231.TAA05161@usr05.primenet.com> References: <199811162237.RAA02348@chai.torrentnet.com> <199811170231.TAA05161@usr05.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > Basically fd_set should have never been defined. > > > > > > Definitely agree. But... it's *still* stupid to call select with > > > a count that includes unallocated descriptors. > > > > You are preaching to the converted :-) > > Yah; just wanted to note that even though it should never have been > defined, it having never been defined is not an excuse to do the > wrong thing... > > I think I'm familiar with the section of code that Nate is > concerned with; I think by default that it does the wrong thing. Huh? The section of code that I'm concerned with uses Poll by default, and has been modified to use select since FreeBSD 2.* don't have poll, so I doubt your familiar with the code. The JDK doesn't use select unless you modify it to use select. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811170508.WAA22595>