[17102] 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 09:26:44 2011

Date: Tue, 23 Aug 2011 08:02:08 +0200
Date: Tue, 23 Aug 2011 08:02:08 +0200
From: Volker Lendecke <Volker.Lendecke@sernet.de>
To: Tom Yu <tlyu@mit.edu>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <ldv4o195ayb.fsf@cathode-dark-space.mit.edu>
Message-Id: <E1Qvk6H-000L8f-C5@intern.SerNet.DE>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Reply-To: Volker.Lendecke@sernet.de
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On Mon, Aug 22, 2011 at 06:38:04PM -0400, Tom Yu wrote:
> Greg Hudson <ghudson@MIT.EDU> writes:
> 
> > (As for the issue at hand, I will take charge of doing what we
> > reasonably can to minimize the pain of relying on an external event
> > loop, but I'm not sure exactly what that is yet.)
> 
> I wonder how difficult it would be to create (and bundle) a small
> event loop back end for libverto that implements the bare minimum of
> functionality that we would use in our code.  To keep this from
> expanding into another fully-featured event library, we could
> constrain it to using only select() for file descriptor events, for
> example.

Probably easy, but just don't use select, use poll. Samba
had to find out the hard way that select creates memory
corruption or if used correctly does not work at all
(limited FD_SETSIZE).

Volker
_______________________________________________
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