Regd ev_timer

Jann Horn jann+libev at thejh.net
Wed Apr 3 00:59:44 CEST 2013


On Wed, Apr 03, 2013 at 09:54:46AM +1100, Varun Chandramohan wrote:
> Hi Jann,
> 
> Yeah, thanks for picking that up. Yes I will reset the timer. Just a
> question, so at line 78 if I removed if (events & EV_TIMEOUT) { }
> check will it be an issue. I dont see anything else calling this call back
> apart from this event. May be EV_ERROR perhaps?

I think it should be safe... but you might want to wait for schmorp or so to
give a definite answer.


> Also if you have time revert the code I pasted back to original problem as
> stated in my first post and check the result.
> 
> Will you be able to tell me theoretically what was going on? I still not
> aware of what exactly went wrong.

It looked correct to me. I went through the math and everything looked good to
me. Maybe someone else on the list can help?


> Also I have been
> using this manual http://doc.dvgu.ru/devel/ev.html for development. I could
> not find ev_now_update() so wondering if there is better
> and more update manual with examples to learn from?

At <http://software.schmorp.de/pkg/libev.html>, you can see a link to
<http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod>. That's the up-to-date
documentation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20130403/9f2f76ec/attachment.pgp>


More information about the libev mailing list