Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 1996 10:41:40 +1100 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        thorpej@nas.nasa.gov
Cc:        terry@lambert.org, jb@cimlogic.com.au, hackers@freebsd.org
Subject:   Re: poll(2)
Message-ID:  <199612092341.KAA10842@freebsd1.cimlogic.com.au>
In-Reply-To: <199612092304.PAA11079@lestat.nas.nasa.gov> from Jason Thorpe at "Dec 9, 96 03:04:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612092341.KAA10842>