Correct logic - only issue recv and cancel it if we are an HNP
This commit was SVN r17641.
Этот коммит содержится в:
родитель
d9937cca81
Коммит
5dc64cea6a
@ -66,7 +66,7 @@ int orte_filem_base_comm_start(void)
|
|||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (recv_issued && orte_process_info.hnp) {
|
if (recv_issued || !orte_process_info.hnp) {
|
||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ int orte_filem_base_comm_stop(void)
|
|||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (!recv_issued && orte_process_info.hnp) {
|
if (!recv_issued || !orte_process_info.hnp) {
|
||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user