From owner-freebsd-hackers Mon Nov 16 21:08:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15154 for freebsd-hackers-outgoing; Mon, 16 Nov 1998 21:08:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15149 for ; Mon, 16 Nov 1998 21:08:30 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id WAA18220; Mon, 16 Nov 1998 22:08:03 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA22595; Mon, 16 Nov 1998 22:08:02 -0700 Date: Mon, 16 Nov 1998 22:08:02 -0700 Message-Id: <199811170508.WAA22595@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Terry Lambert Cc: bakul@torrentnet.com (Bakul Shah), hackers@FreeBSD.ORG Subject: Re: Supporting more than FD_SETSIZE fd's In-Reply-To: <199811170231.TAA05161@usr05.primenet.com> References: <199811162237.RAA02348@chai.torrentnet.com> <199811170231.TAA05161@usr05.primenet.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > 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