Using ev_periodic with a custom loop and a specific start time

Luca Barbato lu_zero at gentoo.org
Thu Apr 9 12:54:20 CEST 2009


Marc Lehmann wrote:
> If it works for you, I don't complain. The question is will you be happy
> when your program incures delay differences just because somebody (evil
> cron) ran ntpdate?
> 
> If that's an issue, using a periodic to start a timer to do the job is the
> safer thing to do.

I'm aware of the issue, probably won't hurt going to the safer route, 
thank you for the advices.

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero




More information about the libev mailing list