On Mon, Apr 21, 2008 at 09:43:43AM -0500, Marco Peereboom wrote:
quoted text > On Mon, Apr 21, 2008 at 02:31:26PM +0200, Henning Brauer wrote:
> > programming w/ libevent is convenient at times, the decision poll vs
> > libevent should not be made based on performance considerations,
> > exception beeing the above massive concurrent connection case.
>
> I spent a lot of time doing libevent stuff for a work project the last
> few weeks and I am in love with the API. One negative is the poor
> documentation; especially the buffered events docs are inadequate.
>
> Yes, I read the source :-) but it would have been a little less painful
> to have a slightly better man page and some standalone examples.
>
> Negatives aside once you figure it out it allows one to write code that
> doesn't require threading and other complexity inducing stuff. Yay
> finite state machines!
>
Yay, I too fell in love with it and it's various API's despite the lack
of documentation for most of them, header help understanding how things
work but I wasted quite some time on bufferevents ;-)
Gilles
--
Gilles Chehade
http://www.poolp.org/