[RFC][PATCH] krb5 => libverto main loop
Sam Hartman
hartmans at MIT.EDU
Tue Aug 23 16:00:28 EDT 2011
>>>>> "Tom" == Tom Yu <tlyu at MIT.EDU> writes:
Tom> 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.)
Tom> I wonder how difficult it would be to create (and bundle) a
Tom> small event loop back end for libverto that implements the bare
Tom> minimum of functionality that we would use in our code. To
Tom> keep this from expanding into another fully-featured event
Tom> library, we could constrain it to using only select() for file
Tom> descriptor events, for example.
Tom> _______________________________________________ krbdev mailing
Tom> list krbdev at mit.edu
Tom> https://mailman.mit.edu/mailman/listinfo/krbdev
I agree with Simo.
Please bundle something, do not create your own.
Supporting things beyond select is quite important; you need something
that does more than 1024 fds at a minimum.
But really, you actually want a real event library.
Pick one of the many options you have.
My preference is libevent, but I'm happy with whatever.
More information about the krbdev
mailing list