> 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.  Or spawn
a POSIX thread for your periodic task.

-- Juliusz

_______________________________________________
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