Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
os, os/signal: inconsistent documentation #27854
I'm trying to define cleanup behavior in a Windows program, so I want to catch a signal, do some cleanup, and then exit the program. I don't have a Windows machine though so testing this is sort of tricky.
The docs for
However, the docs for
I'm confused how Interrupt can be all of:
So while the documentation is confusing and should be cleaned up, I think that it is in essence correct.