SIGCONT

From Wikipedia, the free encyclopedia

SIGCONT
Description Continue executing, if stopped
Default action Continue the process, if it is stopped; otherwise ignore the signal
SA_SIGINFO macros
None

On POSIX-compliant platforms, SIGCONT is the signal sent to restart a computer program previously paused by the SIGSTOP signal. The symbolic constant for SIGCONT 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. CONT is an abbreviation for continue.

[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.


Languages