Both signals are designed to suspend a process which will be eventually resumed with SIGCONT
. The main differences between them are:
SIGSTOP
is a signal sent programmatically (eg:kill -STOP pid
) whileSIGTSTP
(for signal - terminal stop) may also be sent through thetty
driver by a user typing on a keyboard, usually Control-Z.SIGSTOP
cannot be ignored.SIGTSTP
might be.