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

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

2009-11-25 Thread Zhuang Yuyao
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 successful call to evdns_base_resolve_ipv4(). the patch attached with