Subject: Re: Importing kqueue's from FreeBSD...
To: Luke Mewburn <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
Date: 03/14/2001 21:13:52
On Thu, Mar 15, 2001 at 03:33:37PM +1100, Luke Mewburn wrote:
> I'd like to bring these into -current, #ifdef-ed appropriatly, to
> allow others to `bang' on the code as well.
If we do get this, we should make select(2) and poll(2) use the same
underlying "event" notification mechanism, instead of the current
selinfo stuff. It's pretty silly to have both.
kqueue, while being "generic", has no way to add filters, etc. without
modifying the API -- to add a constant representing the filter, event,
etc. This is seriously broken and must be addressed if we're going to
call it "generic".
-- Jason R. Thorpe <email@example.com>