[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: subcommand to pause/resume builds

From: Ludovic Courtès
Subject: Re: RFC: subcommand to pause/resume builds
Date: Sun, 08 Nov 2020 17:30:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi Mark,

Mark H Weaver <> skribis:

> Ludovic Courtès <> writes:
>> Last, you’d need to send SIGTSTP to the whole process group of the
>> build, like so (I think, haven’t tried):
>>   sudo kill -TSTP -123
>> where 123 is the “SessionPID” shown by ‘guix processes’.  However, doing
>> so may affect build results: processes in the build environment might
>> handle SIGTSTP specially, which can have side effects.  It’s an
>> observable action.
> What's the rationale for using SIGTSTP instead of SIGSTOP here?

No good reason; SIGSTOP is safer because it cannot be handled (info
"(libc) Job Control Signals"), and thus my argument above is moot.

Thanks for the correction!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]