[erlang-questions] Escript and spawn

Hans Bolinder hans.bolinder@REDACTED
Wed May 2 08:37:44 CEST 2007

[Matthias Lang:]
> The erl_eval manpage in R11B-4 claims that receive "cannot be handled
> properly". A basic test of receive, both in escript and using erl_eval
> directly, suggests that it works. Are the problems, or is it just an
> out of date manpage?

erl_eval removes messages from the queue and puts them back if they
don't match any clause. If a new message arrives while old messages
are put back, the order of the message queue will no longer be

Best regards,

Hans Bolinder, Erlang/OTP team

More information about the erlang-questions mailing list