enif_send, terms and msg_env

Max Lapshin max.lapshin@REDACTED
Tue Sep 15 14:34:54 CEST 2020


> The message environment msg_env with all its terms (including msg) is invalidated by a successful call to enif_send.

I have created msg in another environment and I do not want to invalidate it.

Should I just prefer using NULL for msg_env in this case?

More information about the erlang-questions mailing list