The special problem of time updates

Laska Radek radek.laska at comap.cz
Tue May 6 10:43:23 CEST 2014


Hi,

I have questions about  The special problem of time updates (see
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#The_special_problem
_of_time_updates):

1) There is example in documentation how avoid this. Is this example
correct? I think there should be:
  ev_timer_set (&timer, after  +  (ev_time () - ev_now () ), 0.);
  instead of:
  ev_timer_set (&timer, after + ev_now () - ev_time (), 0.);

2)  It will be nice add ev_time to C++ wrapper (ev++.h). Is it possible
in next version?

Thanks,
Radek Laska




More information about the libev mailing list