|
From: | Martin d'Anjou |
Subject: | Re: Alternate termination sequence option --term-seq |
Date: | Mon, 01 Jun 2015 15:44:42 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
As far as I can tell it is because the family_pids are dynamic, and we cannot tell for sure if the a pid has been reused: it can happen milliseconds after family_pids have been computed. In a normal system chances are extremely slim, but as my test system shows it is non-zero.Again: GNU Parallel has no business sending signals to arbitrary process ids. As your toy example shows, this may kill an unrelated process.
Agreed. GNU Parallel should only send signals to its own child processes, it should not attempt to send signals elsewhere.
Martin
[Prev in Thread] | Current Thread | [Next in Thread] |