From owner-freebsd-hackers Mon Jan 24 15:48:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id C0CDD14D62; Mon, 24 Jan 2000 15:48:31 -0800 (PST) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id RAA24151; Mon, 24 Jan 2000 17:21:05 -0500 (EST) Date: Mon, 24 Jan 2000 17:21:02 -0500 (EST) From: Daniel Eischen To: Matthew Dillon Cc: Alfred Perlstein , Mikhail Teterin , David Schwartz , imp@village.org, hackers@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: kern/13644 In-Reply-To: <200001242121.NAA92301@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 Jan 2000, Matthew Dillon wrote: > : > :The "maximum interval to wait for the selection to complete" isn't > :really the maximum, but more like the lower bounds of the time to > :wait for the selection. > : > :Dan Eischen > :eischen@vigrid.com > > It's definitely a maximum, because select() can return much sooner if > one of the I/O events being waited on occurs. It's not a maximum if you round up to the nearest clock tick. > If you call it a minimum > you imply that select() will not return until at least the specified > amount of time elapses, which is incorrect. Just because it may go > slightly over the specified time when no I/O events are pending does not > change anything -- FreeBSD is not a hard-realtime system and programmers > understand that. If anyone were to actually get confused by this, they > have to go back to school. I know all this, but I still prefer Solaris' wording over what we have. If someone is going to change the man page for this, then I suggest we do it in a way that is more clear. "system activity" doesn't seem to me to cover rounding up to the nearest clock tick. I'm happy with leaving the man page as it is also. Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message