parallel
[Top][All Lists]
Advanced

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

Re: Alternate termination sequence option --term-seq


From: Martin d'Anjou
Subject: Re: Alternate termination sequence option --term-seq
Date: Fri, 24 Apr 2015 09:24:08 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 15-04-23 05:39 PM, Ole Tange wrote:
On Mon, Apr 20, 2015 at 4:31 PM, Martin d'Anjou
<address@hidden> wrote:
Hi Ole and parallel users,

Here is an implementation of how the user can specify an alternate
termination sequence:
https://github.com/martinda/gnu-parallel/compare/optional-termination-sequence?expand=1

Your input is welcome.
My initials feelings are good.

Obviously it will also have to be implemented for killall() so we can
killall children with a single @term_seq.

Yes


I have a small worry that kill() is serial: You cannot have multiple
kills running in parallel, so if you wait 60+60 seconds to kill a
single job, then you can at most kill 30 jobs per hour.

Good point. Perhaps the kill sequence outer loop should be the kill sequence item and the inner loop the list of children pids. The wait would not be cumulative per child in this case.

Martin



reply via email to

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