[erlang-questions] implementing a heartbeat

Tim Bates tim@REDACTED
Sat May 26 08:51:44 CEST 2007


Jason Dusek wrote:
> However, my heartbeat never lets go of control!

Change this line:

   spawn(?MODULE, heartbeat(Server, Evolver, Delay)),

to:

   spawn(?MODULE, heartbeat, [Server, Evolver, Delay]),


HTH,
Tim.

-- 
Tim Bates
tim@REDACTED



More information about the erlang-questions mailing list