Ctrl-\ in a Linux terminal sends the SIGQUIT signal. You can also send this
signal with kill.
Sending SIGQUIT to a golang application (unless it traps it and changes the
behavior) will cause it to print all of its goroutine's stack traces and
then exit.
Perhaps you could use this to confirm th
On Thursday, 26 January 2023 at 15:38:28 UTC Brian Candler wrote:
> As a goroutine may terminate if panic occurs
If that happens, it will crash the entire program (go isn't python :-)
https://go.dev/play/p/YD3lQ-xWe29
... although other goroutines may continue for a very short time
afterwards.
> As a goroutine may terminate if panic occurs
If that happens, it will crash the entire program (go isn't python :-)
https://go.dev/play/p/YD3lQ-xWe29
> I used recover() to log the error and the monitoring thread is
re-created. But this doesn't help either. I noticed that the goroutine has
bee