[Libevent-users] Valgrind patch

2009-11-27 Thread William Ahern
Valgrind complains on startup because kq_init passes to kevent only a partially initialized structure. The code doesn't expect kevent to look at .fflags, .udata, or .data, I suppose, because it merely tickles the kernel looking for an error response. But perhaps that's unwarranted chuminess (notwit

Re: [Libevent-users] [PATCH] evdns lock violation while thread is used

2009-11-27 Thread Nick Mathewson
On Wed, Nov 25, 2009 at 03:30:08PM +0800, Zhuang Yuyao wrote: > evdns contains a bug related to thread lock. > > enable thread lock by evthread_use_pthreads() will cause successive > evdns_base_resolve_ipv4() (and other resolve functions i think) to > hang on EVDNS_LOCK(base) after one or several