RE: [Libevent-users] Does an event loop support multiple threads?

2012-05-22 Thread Hassink, Brian
Thanks for the confirmation Nick. Balancing the connections across event_base instances is tricky since their traffic loads are variable. And if I take the thread pool + work queue approach, I end up with something that look a lot like an ACE reactor ;) Regards, Brian Hassink -Original Me

[Libevent-users] max number of supported events?

2012-05-22 Thread Scott Dorr
Is there an upper limit to the amount of outstanding events you can queue up on a base? (and if so, is there a difference between using an explicit base vs. the default base for this limit?) I'm trying to track down an issue where it feels like I'm losing events -- this is on a very heavily tr

Re: [Libevent-users] Does an event loop support multiple threads?

2012-05-22 Thread Nick Mathewson
On Tue, May 22, 2012 at 1:13 PM, Hassink, Brian wrote: > Hello list, > > > > I’m new to libevent and trying to learn some more about it for potential use > in a project.  I’ve worked with ACE reactor and ASIO proactor in the past, > and after briefly skimming the “book”, am wondering about multi-t

[Libevent-users] Does an event loop support multiple threads?

2012-05-22 Thread Hassink, Brian
Hello list, I'm new to libevent and trying to learn some more about it for potential use in a project. I've worked with ACE reactor and ASIO proactor in the past, and after briefly skimming the "book", am wondering about multi-threaded support in libevent. When I look at R2 and R3, and some o

Re: [Libevent-users] Linking with -levent

2012-05-22 Thread Nick Mathewson
On Tue, May 22, 2012 at 2:40 AM, Ross Lagerwall wrote: > Hi, > > Linking with '-levent' is deprecated. Perhaps with libevent 2.1, it's time > for it to be removed? (the pkgconfig stuff will have to be updated as per > http://sourceforge.net/tracker/?func=detail&atid=461325&aid=3435107&group_id=508