On 15-04-23 05:39 PM, Ole Tange wrote:
On Mon, Apr 20, 2015 at 4:31 PM, Martin d'Anjou
<[email protected]> 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