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
If you have one process waiting on a RemoteChannel that is supposed to be filled then closed by another process, but that process crashes before it's finished, the first process will hang forever.
It seems that what we want is to wait on the lifetime of the Process, and if the process exits early, to close the channel. And if the process exits non-normally, to throw an exception on the channel.
This is exactly what bind does, but there is no overload for RemoteChannels. Can we add one?
I think it could use wait(::Process) which already exists.
The text was updated successfully, but these errors were encountered:
If you have one process waiting on a RemoteChannel that is supposed to be filled then closed by another process, but that process crashes before it's finished, the first process will hang forever.
It seems that what we want is to wait on the lifetime of the Process, and if the process exits early, to close the channel. And if the process exits non-normally, to throw an exception on the channel.
This is exactly what
bind
does, but there is no overload for RemoteChannels. Can we add one?I think it could use
wait(::Process)
which already exists.The text was updated successfully, but these errors were encountered: