From owner-freebsd-hackers Mon Dec 9 16:29:55 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA18842 for hackers-outgoing; Mon, 9 Dec 1996 16:29:55 -0800 (PST) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA18835 for ; Mon, 9 Dec 1996 16:29:53 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id QAA11620; Mon, 9 Dec 1996 16:20:59 -0800 (PST) Message-Id: <199612100020.QAA11620@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: John Birrell Cc: terry@lambert.org, hackers@freebsd.org, tech-kern@netbsd.org Subject: Re: poll(2) Reply-To: Jason Thorpe From: Jason Thorpe Date: Mon, 09 Dec 1996 16:20:58 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Just wanted to get tech-kern@netbsd.org on this thread, too :-) "Discuss." :-) On Tue, 10 Dec 1996 10:41:40 +1100 (EST) John Birrell wrote: > 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 Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: 408.866.1912 NAS: M/S 258-6 Work: 415.604.0935 Moffett Field, CA 94035 Pager: 415.428.6939