From owner-freebsd-hackers Mon Dec 9 16:07:57 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA17271 for hackers-outgoing; Mon, 9 Dec 1996 16:07:57 -0800 (PST) Received: from mira.net.au (eplet.mira.net.au [203.9.190.17]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id QAA17254 for ; Mon, 9 Dec 1996 16:07:54 -0800 (PST) Received: (qmail 20084 invoked from network); 10 Dec 1996 00:07:52 -0000 Received: from melb.werple.net.au (203.9.190.18) by eplet.mira.net.au with SMTP; 10 Dec 1996 00:07:52 -0000 Received: (from uucp@localhost) by melb.werple.net.au (8.7.6/8.7.3/2) with UUCP id KAA16020; Tue, 10 Dec 1996 10:57:00 +1100 (EST) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id KAA10842; Tue, 10 Dec 1996 10:41:41 +1100 (EST) From: John Birrell Message-Id: <199612092341.KAA10842@freebsd1.cimlogic.com.au> Subject: Re: poll(2) To: thorpej@nas.nasa.gov Date: Tue, 10 Dec 1996 10:41:40 +1100 (EST) Cc: terry@lambert.org, jb@cimlogic.com.au, hackers@freebsd.org In-Reply-To: <199612092304.PAA11079@lestat.nas.nasa.gov> from Jason Thorpe at "Dec 9, 96 03:04:22 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jason Thorpe wrote: > ...indeed. I did that once (in 1994), so that I could compile some > SVR4 sources under NetBSD/hp300. However, doing that limits poll() > to select()'s functionality. I was just replacing code in the thread kernel that used select to use poll as the hidden syscall. > I'd like to see a upoll(2), as well... an extension, that gives the > funtionality of poll, but takes a more reasonable timeout (like, > probably a struct timespec). npoll(2) for timespec? Or nanopoll(2) like nanosleep? I prefer poll_nsec(2), though. 8-) > > Jason R. Thorpe thorpej@nas.nasa.gov Regards, -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au; jb@netbsd.org 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137