[erlang-questions] start_timer or send_after ?

Ulf Wiger ulf.wiger@REDACTED
Tue Jun 15 19:20:57 CEST 2010


info wrote:
> Hi All, What is the difference between start_timer/3 and
> send_after/3, their explanation is the same ?

Start_timer/3 includes the reference in the timeout
message, so that you can know for sure that the message
pertains to _your_ timeout.

BR,
Ulf W
-- 
Ulf Wiger
CTO, Erlang Solutions Ltd, formerly Erlang Training & Consulting Ltd
http://www.erlang-solutions.com
---------------------------------------------------

---------------------------------------------------

WE'VE CHANGED NAMES!

Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.

www.erlang-solutions.com



More information about the erlang-questions mailing list