Skip to content

Commit

Permalink
odls/pspawn: record the pid of the spawn'ed process
Browse files Browse the repository at this point in the history
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
  • Loading branch information
ggouaillardet committed Dec 1, 2017
1 parent 4225b89 commit a4755b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orte/mca/odls/pspawn/odls_pspawn.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ static int odls_pspawn_fork_local_proc(void *cdptr)
}

cd->child->state = ORTE_PROC_STATE_RUNNING;
cd->child->pid = pid;
ORTE_FLAG_SET(cd->child, ORTE_PROC_FLAG_ALIVE);
return ORTE_SUCCESS;
}
Expand Down

0 comments on commit a4755b6

Please sign in to comment.