On Fri, Dec 23, 2011 at 1:09 PM, Savio Sebastian
<[email protected]> wrote:
>         stopTimer.start(0.,5);
>
> Here my problem is the timeout call back function is getting called
> immediatly after the program execution begins

You are setting the watcher to trigger after 0 seconds, then repeat
every 5 second.  No wonder it fires immediately.

Ambrus

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to