On Sun, May 04, 2014 at 10:39:33PM +0200, Vincent Gross wrote:
> Hi gang,
> 
> I am considering to write a daemon of some kind, and I was going over
> OpenBGPd's sources to get some good fine-grained design examples. I
> noticed that although all IO's are asynchronous, libevent is not used,
> but I can't figure out why.
> 
> So, is libevent not used by accident or by design ? in the latter case,
> what is precisely the feature/design consideration that made it
> unsuitable ?

Don't use bgpd as an example. It was one of the first privsep daemon we
did and at that time it was done without libevent. ospfd and all the later
daemons use libevent. Their event loop is therefor a lot simpler.
So yeah not using libevent in bgpd could be considered an accident.

-- 
:wq Claudio

Reply via email to