Re: [Libevent-users] libevent with Windows IOCP

2012-03-02 Thread Nick Mathewson
On Thu, Mar 1, 2012 at 7:58 PM, Henk Goosen wrote: > Hi there, > > I am looking into using libevent for a high performance cross-platform > networking application. From the documentation and searching around I get the > feeling that IOCP is still not well supported and/or stable in libevent. > >

Re: [Libevent-users] Re: Infinite loop in libevent-1.4.14b-stable

2012-03-02 Thread Nick Mathewson
On Fri, Mar 2, 2012 at 10:00 AM, Daniel Janzon wrote: > I found a similar report in the mailing list archive, where it was > concluded that this can happen when event_set is called after > event_add. In this case, however, the only place in the code where > event_set is called, is on the line befo

Re: [Libevent-users] Infinite loop in libevent-1.4.14b-stable

2012-03-02 Thread Nick Mathewson
On Thu, Mar 1, 2012 at 6:27 PM, Daniel Janzon wrote: > What I don't understand is why it is removed from > base->activequeues[ev->ev_pri] in event_del() / event_queue_remove(). > I would have imagined it should have been removed from base->timeheap. > So maybe the bug is that EVLIST_TIMEOUT is not

[Libevent-users] Re: Infinite loop in libevent-1.4.14b-stable

2012-03-02 Thread Daniel Janzon
I found a similar report in the mailing list archive, where it was concluded that this can happen when event_set is called after event_add. In this case, however, the only place in the code where event_set is called, is on the line before even_add. //Daniel On Fri, Mar 2, 2012 at 12:46 AM, Daniel