Thanks, it works.

Michael

On Tue, Sep 11, 2012 at 3:57 PM, Nick Mathewson <[email protected]> wrote:

> On Tue, Sep 11, 2012 at 5:54 PM, Michael <[email protected]> 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 there anything I'm missing ?
>
> You're not calling event_base_dispatch after you "rewrite" the timer.
> There's no event loop running then.
> ***********************************************************************
> To unsubscribe, send an e-mail to [email protected] with
> unsubscribe libevent-users    in the body.
>

Reply via email to