[RFC][PATCH] krb5 => libverto main loop
Volker Lendecke
Volker.Lendecke at sernet.de
Tue Aug 23 09:44:21 EDT 2011
On Tue, Aug 23, 2011 at 09:23:06AM -0400, Tom Yu wrote:
> Simo Sorce <simo at redhat.com> writes:
>
> > Just bundle an existing one, don't NIH please.
>
> Which one would you recommend bundling? It looks like the smallest
> event loop library might be libev, but I haven't done a thorough
> comparison.
>
> Also, it's not NIH; I want something minimal that won't cause us much
> additional maintenance overhead if we bundle it. As far as I can
> tell, all other portable event loop libraries have more dependencies,
> support multiple kernel file descriptor monitoring interfaces, etc.
>
> By choosing a single interface -- probably select(), or poll() if we
> believe that poll() is better and that nobody who wants to build our
> code from source needs to build on a system that lacks poll() -- we
poll with the required set of features is easy to emulate on
top of select. Samba has a LGPLv2 emulation in for example
http://git.samba.org/?p=samba.git;a=blob;f=lib/replace/poll.c;h=e41548dd39f5
and I'm sure that it's easy to either find a MIT licensed
one or just rewrite it.
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
More information about the krbdev
mailing list