SIGSTOP

From Wikipedia, the free encyclopedia

SIGSTOP
Description Stop executing (cannot be caught or ignored)
Default action Stop the process
SA_SIGINFO macros
None

On POSIX-compliant platforms, SIGSTOP is the signal sent to stop a computer program for later resumption. The symbolic constant for SIGSTOP is defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.

[edit] Etymology

SIG is a common prefix for signal names. STOP means precisely stop.

[edit] Usage

When SIGSTOP is sent to a process, the usual behaviour is to pause that process in its current state. The process will only resume execution if it is sent the SIGCONT signal. SIGSTOP and SIGCONT are used for job control in the Unix shell, among other purposes. SIGSTOP cannot be caught or ignored.