|
|
|
|
|
by slrz
3143 days ago
|
|
> In Go, if a goroutine panics for some reason it just dies on its own and the world does not know unless you have some sort of ping service If a goroutine panics and is not recovered, it not only dies but tears down the whole process. This seems to be the more appropriate approach for a language with pervasive shared state (locks, etc.). Erlang is quite different here, as you say. Restarting or otherwise dealing with the exiting process is best left to the service manager that started it. |
|