Ctrl C Does It Kill Threads Too Along With Main Process
Apr 30, 2011 Well, the only thing that Ctrl C does is sending SIGINT to one thread in the process that is not masking the signal. Signals can be handled or ignored. If the program does handle CtrlC, the usual behavior is self-termination, but once again, it could be used for anything else.. In your case, SIGINT is being received by one thread, which probably does kill itself, but does not kill the others.