Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 1996 15:40:03 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        jb@cimlogic.com.au (John Birrell)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: poll(2)
Message-ID:  <199612092240.PAA02008@phaeton.artisoft.com>
In-Reply-To: <199612092118.IAA10527@freebsd1.cimlogic.com.au> from "John Birrell" at Dec 10, 96 08:18:03 am

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



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