[erlang-patches] Fix receive support in erl_eval with a BEAM module

Anthony Ramine <>
Fri May 10 14:50:16 CEST 2013

Hello Björn,

The function is now prim_eval:'receive'/2 and takes a closure and a timeout value. The .S file is compiled and an abstract code chunk made from the stub .erl file is included in the resulting .beam file. I also amended the commit message with more details. Please refetch.


Anthony Ramine

Le 8 mai 2013 à 12:12, Björn Gustavsson a écrit :

> On Wed, May 8, 2013 at 12:01 PM, Anthony Ramine <> wrote:
> Hello Björn,
> What you are saying is sensible. What name would you prefer for the function?
> I think I would call it simply 'receive'/1. Feel free to
> come up with something better.
> -- 
> Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list