Set the lifeline when we are tree spawning under rsh so that the orted can self-terminate when its parent dies
This commit was SVN r25655.
Этот коммит содержится в:
родитель
9dec101043
Коммит
a309c53bf2
@ -577,6 +577,13 @@ int orte_daemon(int argc, char *argv[])
|
|||||||
ORTE_ERROR_LOG(ret);
|
ORTE_ERROR_LOG(ret);
|
||||||
goto DONE;
|
goto DONE;
|
||||||
}
|
}
|
||||||
|
/* set the lifeline to point to our parent so that we
|
||||||
|
* can handle the situation if that lifeline goes away
|
||||||
|
*/
|
||||||
|
if (ORTE_SUCCESS != (ret = orte_routed.set_lifeline(&parent))) {
|
||||||
|
ORTE_ERROR_LOG(ret);
|
||||||
|
goto DONE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if we are not the HNP...the only time we will be an HNP
|
/* if we are not the HNP...the only time we will be an HNP
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user