Conversation
It should be perfectly fine to do, in the same way rusterlium#469 makes `OwnedBinary` `Sync`-compatible. I require it to make `OwnedEnv` part of the structure that is storing `Term`s within its body, just like it happens with ETS.
|
Quoting from the docs (https://www.erlang.org/doc/apps/erts/erl_nif.html):
I don't think process-independent environments as such are thread-safe "enough" for |
|
@filmor quoting docs:
Emphasis mine. Rustler requires that the value returned from the NIF call must be |
|
Sorry for the high latency :) I am not quite following what you are trying to do that would require My point was that |
It should be perfectly fine to do, in the same way #469 makes
OwnedBinarySync-compatible.I require it to make
OwnedEnvpart of the structure that is storingTerms within its body, just like it happens with ETS.