This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: children of init ignore STOP and CONT signals
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Feb 2005 15:45:17 -0500
- Subject: Re: children of init ignore STOP and CONT signals
- References: <BAY1-F321629E2FEB020E1F60A3BDB620@phx.gbl>
- Reply-to: cygwin at cygwin dot com
On Tue, Feb 22, 2005 at 06:13:29PM +0000, Sam Inala wrote:
>The stop and continue signals seem to be ignored by cygwin processes if
>they are children of init (process id 1). The signals are handled
>correctly if the targets are children of a bash process.
Correct. This is longstanding behavior. Stop signals are ignored if
there is no parent process. Apparently, the theory is that since
SIGSTOP is a UNIX thing, it makes no sense to stop a process if no other
process is around to recognize that fact. This prevents a user from
typing CTRL-Z and creating a suspended process which requires restarting
from another window.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/