Add a signal handler that calls exit() - without this, there are some
things (like finishing writing the gmon.out file when profiling) that don't happen when you control-c or kill the program.
Please register or sign in to comment
things (like finishing writing the gmon.out file when profiling) that don't happen when you control-c or kill the program.