From owner-freebsd-hackers Thu Mar 13 11:43:15 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45EDE37B401 for ; Thu, 13 Mar 2003 11:43:14 -0800 (PST) Received: from mail.rdslink.ro (mail.rdslink.ro [193.231.236.20]) by mx1.FreeBSD.org (Postfix) with SMTP id BA50B43F75 for ; Thu, 13 Mar 2003 11:43:12 -0800 (PST) (envelope-from enache@rdslink.ro) Received: (qmail 7582 invoked from network); 13 Mar 2003 19:44:07 -0000 Received: from unknown (HELO ratsnest.hole) (81.196.245.3) by mail.rdslink.ro with SMTP; 13 Mar 2003 19:44:07 -0000 Received: from ratsnest.hole (localhost [127.0.0.1]) by ratsnest.hole (8.12.5/8.12.5) with ESMTP id h2DJmoiN000971; Thu, 13 Mar 2003 21:48:50 +0200 Received: (from adi@localhost) by ratsnest.hole (8.12.5/8.12.5/Submit) id h2DJmow8000969; Thu, 13 Mar 2003 21:48:50 +0200 Date: Thu, 13 Mar 2003 21:48:50 +0200 From: Enache Adrian To: David Cuthbert Cc: hackers@freebsd.org Subject: Re: first parameter to select Message-ID: <20030313194850.GA899@ratsnest.hole> References: <3E702BCC.3030208@kanga.org> <20030313083710.GA8225@cirb503493.alcatel.com.au> <3E70D561.1080001@kanga.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E70D561.1080001@kanga.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 13, 2003 at 02:00:49PM -0500, David Cuthbert wrote: > Admittedly, my experience is dated and refers to implementing servers on > Solaris. The man page for select(3c) on Solaris explicitly states: > > "The poll(2) function is preferred over this function. It must be used > when the number of descriptors exceeds FD_SETSIZE." IIRC, in Solaris select() isn't a system call, but a library call emulated in userland on top of poll(2). (I could be wrong, I never really used Solaris ). Regards Adi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message