[erlang-questions] enif_select() questions
Fri May 5 21:00:32 CEST 2017
- When the resource stop() callback is invoked with is_direct_call==false,
is the provided environment considered a "process" environment? (ie, should
I pass it as the first parameter to enif_send() or leave null?) Same
question for resource down() callback.
- enif_select() appears to not add a reference to the associated resource.
What should happen if the resource gets garbage collected (dtor invoked)
while it has outstanding an enif_select()?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions