enif_send, terms and msg_env
Max Lapshin <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAMxVRxCkk6NpE_nfuQcsxoGVfKWnO=rHZBfAcCDdqdJkuKgA6w@mail.gmail.com> |
http://erlang.org/doc/man/erl_nif.html#enif_send > 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?