vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Tue, Jul 31, 2007 at 01:57:58PM +0200, Mark Kettenis wrote: > > Date: Mon, 30 Jul 2007 21:48:18 -0500 > > From: Gilles Chehade <veins@evilkittens.org> > > > > Hi tech@, > > > > Here's a diff that turns the poll() based accept loop with a kevent() > > based accept loop > > What are you trying to achieve here? You're replacing portable code > with code using a non-portable interface that lots of people aren't > familiar with. You'd better have a very good reason for this. > Well, besides that I find it cleaner than poll, I thought that the kevent interface was prefered over select()/poll(). I did not think that portability of the interface was an issue since ftpd is part of the base system and already makes use of bsd specific API (bsd_auth) outside of any ifdef. Gilles -- sysadmin & coder @ http://www.evilkittens.org/ coder @ http://www.exalead.com/ [demime 1.01d removed an attachment of type application/pgp-signature] |