Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/inetd



Matthias Scheler <tron%zhadum.de@localhost> 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@localhost



Home | Main Index | Thread Index | Old Index