Re: [Libevent-users] Timerout procedure can't enter twice

2012-09-11 Thread Michael
Thanks, it works. Michael On Tue, Sep 11, 2012 at 3:57 PM, Nick Mathewson wrote: > On Tue, Sep 11, 2012 at 5:54 PM, Michael wrote: > > Hi , > > > > I'm using libevent to create timer procedure. > > > > The attached program will call the timeout function at the first time. > > > > But it won't

Re: [Libevent-users] Timerout procedure can't enter twice

2012-09-11 Thread Nick Mathewson
On Tue, Sep 11, 2012 at 5:54 PM, Michael wrote: > Hi , > > I'm using libevent to create timer procedure. > > The attached program will call the timeout function at the first time. > > But it won't call the timeout function after I rewrite the timer. > > Attached please find the test code. > > Is t

[Libevent-users] Timerout procedure can't enter twice

2012-09-11 Thread Michael
Hi , I'm using libevent to create timer procedure. The attached program will call the timeout function at the first time. But it won't call the timeout function after I rewrite the timer. Attached please find the test code. Is there anything I'm missing ? Thanks! Michael /* * XXX This sampl