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

Hynek Vychodil <>
Tue Aug 24 16:45:00 CEST 2010


I'm not checked if docs is silent about it but source code is pretty
straightforward (it's why I love Erlang so much), timer links to
receiver and also removes timer when receiver dies.

On Tue, Aug 24, 2010 at 12:54 PM, Roberto Ostinelli <> wrote:
> 2010/8/24 Hynek Vychodil <>:
>> use timer:send_interval/2,3
>
> also: can't seem to find in the docs anywhere: what happens if the Pid
> the timer is sending a message to crashes? is this detected by the
> timer, or will it keep on sending messages to it anyway?
>



-- 
--Hynek (Pichi) Vychodil

Analyze your data in minutes. Share your insights instantly. Thrill
your boss.  Be a data hero!
Try GoodData now for free: www.gooddata.com


More information about the erlang-questions mailing list