Re: [Libevent-users] Asynchronous writes in the event loop model

2012-02-01 Thread Nick Mathewson
On Sun, Jan 22, 2012 at 9:44 AM, Frank Schoep wrote: > On 19 jan 2012, at 21:53, Nick Mathewson wrote: >> … >> The usual way is with events that you manually activate.  You'll need >> to use libevent 2 for threading support, and call one of the >> appropriate functions at startup time to turn on t

Re: [Libevent-users] The function list operation of "_evdns_nameserver_add_impl"

2012-02-01 Thread Nick Mathewson
On Tue, Dec 27, 2011 at 12:02 AM, wang qin wrote: > Dear, > > This is the double circle queue. But the operations are not enqueue > the circle queue. > Below is the standard operations: > >        if (!base->server_head) { >                ns->next = ns->prev = ns; >                base->server_he