From owner-freebsd-chat Tue May 28 15:14:05 1996 Return-Path: owner-chat Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA07165 for chat-outgoing; Tue, 28 May 1996 15:14:05 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA07134 for ; Tue, 28 May 1996 15:13:59 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id KAA06464 for ; Tue, 28 May 1996 10:01:52 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id JAA11239; Tue, 28 May 1996 09:58:46 -0700 From: Terry Lambert Message-Id: <199605281658.JAA11239@phaeton.artisoft.com> Subject: Re: Forgiving select() call. To: joerg_wunsch@uriah.heep.sax.de Date: Tue, 28 May 1996 09:58:46 -0700 (MST) Cc: kaleb@x.org, terry@lambert.org, chat@freebsd.org In-Reply-To: <199605280612.IAA03466@uriah.heep.sax.de> from "J Wunsch" at May 28, 96 08:12:17 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-chat@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > (Religious topic, thus moved to chat.) > > As Kaleb S. KEITHLEY wrote: > > > And, FWIW, SVR4 select(3) is implemented using poll(2), so select on > > SVR4, in and of itself, isn't going to have any better granularity > > than poll. > > Only very few systems actually implement it as a library function (and > that's perhaps one of the reasons [along with STREAMS] for the > sluggishness of their IP functionality). All the serious ones > implement it as a system call, too. Solaris as of 2.3 implementes it as a system call. I pointed out two bugs in the library implementation: 1) Won't run statically linked SunOS binaries 2) Makes OS non-compliant with SVID III (RT) definition for select(), since SVID III makes a distinction between system clock and clock update frequency (setitimer(RT), getitimer(RT), gettimeofday(RT)). Pretty much only silly non-SVID III compliant SVR3/SVR4 implementations use select(3) instead of select(2) implementations. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.