[erlang-questions] perform a function on a fixed time interval

Max Lapshin <>
Tue Aug 24 13:11:27 CEST 2010

This task is very important for erlyvideo, because video frames must
arrive according to real time.


This is how I've solved it.

We take wall clock on start and then on each cycle we calculate how
much should we sleep.

More information about the erlang-questions mailing list