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
It would have been a much more useful feature if SIGQUIT didn't kill the Go process, but only dumped the goroutines (i.e. did # 1 but not # 2).
NB: Java works that way -- a SIGQUIT dumps the threads, and then the JVM continues running normally. You can dump threads as many times as you like without killing the process.
The text was updated successfully, but these errors were encountered:
Making that change at this point would break too many people's operating procedures, so we aren't going to implement it as written. I'm going to close this issue. Please comment if you disagree.
You can implement this general idea yourself using the os/signal package and the runtime.Stack function.
go version go1.10.3 linux/amd64
When sending a
SIGQUIT
to a running Go process:It would have been a much more useful feature if SIGQUIT didn't kill the Go process, but only dumped the goroutines (i.e. did # 1 but not # 2).
NB: Java works that way -- a SIGQUIT dumps the threads, and then the JVM continues running normally. You can dump threads as many times as you like without killing the process.
The text was updated successfully, but these errors were encountered: