Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add the possibility to ignore sigint from other threads #7623
In the context of #7596, pants tasks will be executed outside of the main thread. This means that tasks like
Create an atomic variable,
Any thread can pause the handling of SIGINT in a controlled way.
We may want to gate all signals individually, but the semantics of SIGINT are usually different enough from SIGTERM and SIGKILL that I think it's okay to only gate the first one.