DimG
DimG

Reputation: 1781

SIGHUP & SIGCONT

Could you please explain me the logic of UNIX signal system: firstly it sends SIGHUP signal to process group and then it send SIGCONT signal in spite of the main idea of SIGHUP is "kill yourself, there is no terminal anymore"?

Upvotes: 4

Views: 2637

Answers (1)

thejh
thejh

Reputation: 45568

In case the process was stopped with SIGSTOP (which, for example, happens when you press CTRL+Z) and can't respond to SIGHUP because of that.

Upvotes: 5

Related Questions