[erlang-questions] spawn_monitor documentation wrong
Gabriel Pack
grpack@REDACTED
Thu Aug 23 18:44:17 CEST 2007
Is the man page for erlang:spawn_monitor/1 out of date? I'm running
R11B-5.
I had to find out the hard way that it doesn't behave like spawn_link/
1 as claimed. Rather than returning a PID, it returns {PID, _}. When
trapping exits, you have to receive {'DOWN', _, _, _, _} as opposed
to {'EXIT', _, _}.
I've been coding in Erlang for all of a couple weeks now. So let me
know if I'm missing something.
More information about the erlang-questions
mailing list