Skip to content

Commit 6715655

Browse files
author
Ralph Castain
committed
On behalf of Josh, ensure we flag that the child is no longer alive since we are killing it with SIGKILL
Signed-off-by: Ralph Castain <[email protected]>
1 parent 3202de8 commit 6715655

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

orte/mca/odls/base/odls_base_default_fns.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,6 +1611,12 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
16111611
* has happened
16121612
*/
16131613
ORTE_FLAG_SET(cd->child, ORTE_PROC_FLAG_WAITPID);
1614+
1615+
/* Since we are not going to wait for this process, make sure
1616+
* we mark it as not-alive so that we don't wait for it
1617+
* in orted_cmd
1618+
*/
1619+
ORTE_FLAG_UNSET(cd->child, ORTE_PROC_FLAG_ALIVE);
16141620
cd->child->pid = 0;
16151621

16161622
/* mark the child as "killed" */

0 commit comments

Comments
 (0)