[Libevent-users] Measuring load

2010-07-31 Thread Matthew Wild
Hi all, I've been wondering if there is some way I can add load measurement to my application when using libevent. How to define "load" is open to interpretation, but generally I refer to the case where events are being fired faster than my application is processing them. Similar to the loadavg f

Re: [Libevent-users] Assertion in event_base_free

2009-12-07 Thread Matthew Wild
2009/12/7 Nick Mathewson : > On Sun, Dec 06, 2009 at 01:36:27AM +0000, Matthew Wild wrote: >> Hi all, >> >> I'm getting the following assertion fail when my application shuts down: >> >>    event.c:241: event_base_free: Assertion >> `((&base->tim

[Libevent-users] Assertion in event_base_free

2009-12-05 Thread Matthew Wild
Hi all, I'm getting the following assertion fail when my application shuts down: event.c:241: event_base_free: Assertion `((&base->timetree)->rbh_root == ((void *)0))' failed. Now from what I can gather in the source, it is trying to make sure there are no timers still active? If this is the