[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] deadlock in libevent-2.0.5-beta



On Mon, Jul 5, 2010 at 3:03 AM, Avi Bab <avib@xxxxxxxxxx> wrote:
>
> I now have a clearer view of things.
> Like Zhou said - there is a thread adding an event to the sender's event_base which is blocked on writing to base->th_notify_fd[1]:

Oho!  Indeed, this is absolutely right.  My apologies to Zhou Li for
not getting the point before, and thanks to you and Scott Lamb for
explaining it.  I think that reinstating the commented-out line is
indeed correct, so I'll check it in.

One point that confusese me still: were you saying that even with
Zhou's fix, there's still a deadlock?

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.