You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, enif_send is only used in Env::send() and OwnedEnv::send_and_clear(). For OwnedEnv, we know that a failure indicates that to_pid is dead, as we do not send from a process here. For Env::send(), both the sending process or the receiver could be dead, but we cannot reliably know which of them is gone. We could therefore distinguish two error cases:
enif_send returns a flag, indicating if the send succeeded or not. From the documentation:
Functions such as
Env::send()
orOwnedEnv::send_and_clear()
could indicate the success withResult
.The text was updated successfully, but these errors were encountered: