Ctrl-Z
запускает SIGTSTP
, см.https://stackoverflow.com/questions/11886812/whats-the-difference-between-sigstop-and-sigtstp/11888074. SIGTSTP
приостанавливает процесс:
Factoid: If you're a linux programmer, SIGTSTP is what you get when you use Ctrl-Z to interrupt a process running in a shell without killing it. This usually causes the shell to put it on a suspended job list.
комментарий simpleusers под первым ответом вhttps://stackoverflow.com/questions/11886812/whats-the-difference-between-sigstop-and-sigtstp/11888074
Почему SIGTSTP
приостанавливает процесс, потому что это определено в ядре, SIGTSTP
приостанавливает процесс(http://man7.org/linux/man-pages/man7/signal.7.html)