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
Today I tried to remember the signal which causes a Go program to dump all goroutines. Even through googling it was hard to figure out that SIGQUIT is the right answer. So 👍 for adding this information to a well-known location.
ianlancetaylor
changed the title
os/signal: Document signals caught and handled by the runtime
runtime: Document signals caught and handled by the runtime
Sep 8, 2015
rsc
changed the title
runtime: Document signals caught and handled by the runtime
runtime: document signals caught and handled by the runtime
Nov 5, 2015
FWIW the argument for putting these docs in os/signal (perhaps with a forward reference from package runtime) is that os/signal's funcs change the behavior. It's easier to describe both the default and modified behaviors in one place.
Various signals (e.g. SIGQUIT) are handled by the runtime and lead to special default actions in all Go programs.
It would be great to document these somewhere (e.g. os/signal) so people can find these magic signals and their expected/current behavior somewhere.
The text was updated successfully, but these errors were encountered: