Just wondering about the difference between SIGSTOP and SIGTSTP signals.
Both signals are designed to suspend a process which will be eventually resumed with SIGCONT. The main differences between them are:
SIGCONT
SIGSTOP is a signal sent programmatically (eg: kill -STOP pid ) while SIGTSTP (for signal - terminal stop) may also be sent through the tty driver by a user typing on a keyboard, usually Control-Z.
SIGSTOP
kill -STOP pid
SIGTSTP
tty
SIGSTOP cannot be ignored. SIGTSTP might be.
1.4m articles
1.4m replys
5 comments
57.0k users