@tomas Basically a timer that fires at regular intervals checking whether updates should be made. In the case of Nice, there is a timer that runs a bunch of code every 10ms or 100ms or something like that, and it will decide if it's an appropriate time to do some work.
The more elegant solution would be to set individual timers to the appropriate intervals instead of trying to re-implement it… Heh. :trollface:
// @matigo