28 Jun 2012 13:43
error in gen_fsm:reply/2 docs??
Angel J. Alvarez Miguel <clist <at> uah.es>
2012-06-28 11:43:58 GMT
2012-06-28 11:43:58 GMT
Hi again..
gen_fsm:reply/2 does not return true (as stdlib 1.18-1 docs say ) but returns second argument ...
children_response(Pids,Data) ->
lists:foreach(fun(Child) -> Status = gen_fsm:reply(Child,Data)
,io:format("Sending replies got status = ~p\n",[Status]) end,Pids).
"Sending replies got status = {#Ref<0.0.0.765>,0.9999786930675343}"
/Angel
_______________________________________________
erlang-bugs mailing list
erlang-bugs <at> erlang.org
http://erlang.org/mailman/listinfo/erlang-bugs
RSS Feed