<div dir="ltr"><div><br></div><div>- 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.</div><div><br></div><div>- 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()?</div><div><br></div></div>