Subject: Re: CVS commit: src/usr.sbin/inetd
To: None <current-users@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: current-users
Date: 02/12/2003 17:35:37
Matthias Scheler <tron@zhadum.de> writes:
> On Wed, Feb 12, 2003 at 02:09:07PM -0500, Perry E. Metzger wrote:
> > > Log Message:
> > > Rewrite inetd(8) to use kqueue(2) for enhanced performance and scalability.
> > I'm starting to think we should import Niels' libevent stuff and use
> > that for a lot of our things. It hides the underlying use of select or
> > kqueue or whatever, and gives you a nicer API to code against.
>
> Actually I found the kqueue(2) API very nice. My modified version of
> inetd(8) worked on the first try.
The kqueue API is not ugly by any means. However, if you're writing
event driven code, libevent is a nice thing.
--
Perry E. Metzger perry@piermont.com