[17105] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: [RFC][PATCH] krb5 => libverto main loop

daemon@ATHENA.MIT.EDU (Volker Lendecke)
Tue Aug 23 13:31:45 2011

Date: Tue, 23 Aug 2011 15:44:21 +0200
Date: Tue, 23 Aug 2011 15:44:21 +0200
From: Volker Lendecke <Volker.Lendecke@sernet.de>
To: Tom Yu <tlyu@mit.edu>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <ldvobzg45z9.fsf@cathode-dark-space.mit.edu>
Message-Id: <E1QvrHF-000wO7-5Q@intern.SerNet.DE>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Reply-To: Volker.Lendecke@sernet.de
Content-Type: text/plain; charset="iso-8859-1"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

On Tue, Aug 23, 2011 at 09:23:06AM -0400, Tom Yu wrote:
> Simo Sorce <simo@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
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev


home help back first fref pref prev next nref lref last post