Subject: Re: poll(2)
To: John Birrell <jb@cimlogic.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 12/09/1996 16:20:58
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 <jb@cimlogic.com.au> 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