On Tue, Sep 11, 2012 at 5:54 PM, Michael <michaelxm...@gmail.com> 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 majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to