Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
my_safe_process: try to kill the process softly first
first SIGTERM and if the process didn't die in 10 seconds, SIGKILL it. This allows various tools like `rr`, `gcov`, `gprof`, etc to flush their data to disk properly
- Loading branch information
1227428There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Sergei! Finally, somebody made it:)