Dead children have no pid
This commit was SVN r24387.
Этот коммит содержится в:
родитель
a3607ff35d
Коммит
c1da94a444
@ -2915,6 +2915,7 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
|
|||||||
* it already hasn't
|
* it already hasn't
|
||||||
*/
|
*/
|
||||||
child->waitpid_recvd = true;
|
child->waitpid_recvd = true;
|
||||||
|
child->pid = 0;
|
||||||
goto CLEANUP;
|
goto CLEANUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2984,6 +2985,7 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs,
|
|||||||
child->waitpid_recvd = true;
|
child->waitpid_recvd = true;
|
||||||
/* ensure the process is flagged as "not alive" */
|
/* ensure the process is flagged as "not alive" */
|
||||||
child->alive = false;
|
child->alive = false;
|
||||||
|
child->pid = 0;
|
||||||
|
|
||||||
CLEANUP:
|
CLEANUP:
|
||||||
/* ensure the child's session directory is cleaned up */
|
/* ensure the child's session directory is cleaned up */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user