[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 <mhw@netris.org> skribis:
> Ludovic Courtès <ludo@gnu.org> 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!
Ludo’.
- Re: RFC: subcommand to pause/resume builds, (continued)
- Re: RFC: subcommand to pause/resume builds, Tobias Geerinckx-Rice, 2020/11/03
- Re: RFC: subcommand to pause/resume builds, Tobias Geerinckx-Rice, 2020/11/03
- Re: RFC: subcommand to pause/resume builds, John Soo, 2020/11/03
- Re: RFC: subcommand to pause/resume builds, John Soo, 2020/11/03
- Re: RFC: subcommand to pause/resume builds, Ludovic Courtès, 2020/11/06
- Re: RFC: subcommand to pause/resume builds, John Soo, 2020/11/06
Re: RFC: subcommand to pause/resume builds, Bengt Richter, 2020/11/04
Re: RFC: subcommand to pause/resume builds, Mark H Weaver, 2020/11/06
- Re: RFC: subcommand to pause/resume builds,
Ludovic Courtès <=
RFC: subcommand to pause/resume builds, John Soo, 2020/11/04