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

Volker Lendecke Volker.Lendecke at sernet.de
Tue Aug 23 02:02:08 EDT 2011


On Mon, Aug 22, 2011 at 06:38:04PM -0400, Tom Yu wrote:
> Greg Hudson <ghudson at 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



More information about the krbdev mailing list