1
1

Ensure that the stdin channel is closed when we kill a local proc - all other channels will automatically be closed when the proc terminates

This commit was SVN r21680.
Этот коммит содержится в:
Ralph Castain 2009-07-15 11:28:19 +00:00
родитель 77b397895c
Коммит 7161b37c76

Просмотреть файл

@ -2870,6 +2870,11 @@ int orte_odls_base_default_kill_local_procs(opal_pointer_array_t *procs, bool se
goto RECORD;
}
/* ensure the stdin IOF channel for this child is closed. The other
* channels will automatically close when the proc is killed
*/
orte_iof.close(child->name, ORTE_IOF_STDIN);
/* de-register the SIGCHILD callback for this pid so we don't get
* multiple alerts sent back to the HNP
*/