From owner-cvs-sys Sun Feb 16 16:50:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA09952 for cvs-sys-outgoing; Sun, 16 Feb 1997 16:50:35 -0800 (PST) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA09933; Sun, 16 Feb 1997 16:50:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id QAA28052; Sun, 16 Feb 1997 16:46:43 -0800 (PST) Message-Id: <199702170046.QAA28052@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: perry@piermont.com Cc: Mike Pritchard , 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 Reply-To: Jason Thorpe From: Jason Thorpe Date: Sun, 16 Feb 1997 16:46:42 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 16 Feb 1997 12:25:46 -0500 "Perry E. Metzger" 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