Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 1997 16:46:42 -0800
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        perry@piermont.com
Cc:        Mike Pritchard <mpp@freefall.freebsd.org>, bde@zeta.org.au (Bruce Evans), ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/sys types.h 
Message-ID:  <199702170046.QAA28052@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Sun, 16 Feb 1997 12:25:46 -0500 
 "Perry E. Metzger" <perry@piermont.com> wrote:

 > Mike Pritchard writes:
 > > Sounds like it is time for us to implement the poll system
 > > call.  I noticed that OpenBSD has already done so.
 > 
 > NetBSD implemented it. OpenBSD probably has it as a result.

Actually, this is not the case... OpenBSD implemeted it by using the
poll system call emulation from the svr4 compat code (at least, when I
looked at the sources when they first got poll, that's how it appeared).

NetBSD's poll(2) implementation is completely different from OpenBSD's,
and, IMO, better since it's possible to actually implement all of the
poll events in the NetBSD implemetnation...

To do this, you have to change the interface to the device drivers,
which is what NetBSD did.

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



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