From owner-freebsd-hackers Mon Dec 9 15:00:55 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA08028 for hackers-outgoing; Mon, 9 Dec 1996 15:00:55 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id PAA08021 for ; Mon, 9 Dec 1996 15:00:52 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA02008; Mon, 9 Dec 1996 15:40:03 -0700 From: Terry Lambert Message-Id: <199612092240.PAA02008@phaeton.artisoft.com> Subject: Re: poll(2) To: jb@cimlogic.com.au (John Birrell) Date: Mon, 9 Dec 1996 15:40:03 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: <199612092118.IAA10527@freebsd1.cimlogic.com.au> from "John Birrell" at Dec 10, 96 08:18:03 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > There are a few things that NetBSD has added recently that belong (IMHO) > in FreeBSD too. One of them is poll(2), which gives an alternative to > select(2) that does not suffer from the FD_SETSIZE "feature". > > Anyone planning to add this? It's relatively trivial to build a poll() using select() (ie: library wrapper). If someone decides to add poll, note: the tiemout is only good to 1ms theoretical (argument resolution) or 10ms actual (system clock update frequency), so it isn't suitable for doing a lot of things that select() *is* suitable for doing... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.