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

2012-03-05 Thread Daniel Janzon
Hi Nick, On Fri, Mar 2, 2012 at 9:00 PM, Nick Mathewson wrote: > 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 th

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

2012-03-02 Thread Daniel Janzon
, Daniel Janzon wrote: > On Fri, Mar 2, 2012 at 12:27 AM, Daniel Janzon wrote: >> Hi Guys, >> >> Sorry to bother you with a problem in an old release, but I'd >> appreciate any hints on this one. I've got a pretty large piece of >> software based on libev

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

2012-03-01 Thread Daniel Janzon
On Fri, Mar 2, 2012 at 12:27 AM, Daniel Janzon wrote: > Hi Guys, > > Sorry to bother you with a problem in an old release, but I'd > appreciate any hints on this one. I've got a pretty large piece of > software based on libevent-1.4.14b-stable, which usually is really

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

2012-03-01 Thread Daniel Janzon
t_queue_remove(). I would have imagined it should have been removed from base->timeheap. So maybe the bug is that EVLIST_TIMEOUT is not set in event_del? Did anyone ever encounter this situation? I'd appreciate any help I can get. All the best, Daniel Janzon

Re: [Libevent-users] What was EV_PRI for in 1.4.12?

2010-10-04 Thread Daniel Janzon
> This is probably a modified version of libevent, libevent doesn't support > PRI events, eg EPOLLPRI for epoll. Some drivers I was using use this event, > so I had to modify my copy of 1.4.13-stable to support it. Someone at your > end Daniel has probably done the same and if you just upgrade to t

[Libevent-users] What was EV_PRI for in 1.4.12?

2010-10-04 Thread Daniel Janzon
Hello, I have some old code linked against libevent 1.4.12, but I want to upgrade to the latest version. However, it didn't compile unless I removed the EV_PRI bit in event_set. It doesn't seem to exist in later code, I grepped for it. I was doing event_set(..., EV_PRI | EV_PERSIST, ...) but had