On Tue, Mar 7, 2017, at 16:13, Juliusz Chroboczek wrote:
> > The cleanest way I see would be to use timerfd, as Toke suggested, and
> > integrate that in the list of file descriptors watched by select().  As a
> > perhaps simpler alternative, you could also integrate your recurrent task
> > in "tv" (i.e. set "tv" to be the minimum of "tv" and the time at which you
> > want your task to be run next).
> 
> Integrating the deadline in tv is the simpler solution IMHO.  

But it looks like timeval_min is ignoring sub-second values, which was
the original question:
https://github.com/jech/babeld/blob/556af3c2667f8802f243a46067d45b7430bf943b/util.c#L115

-- 
Gabriel

_______________________________________________
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users

Reply via email to