1
1

Cannot rely on detection of connection terminations for deciding when to exit as they don't always go away immediately. There is no info coming back anyway, so it's okay to just exit once the relay has been sent. The relay is sent via a blocking API, so just go ahead and quit.

This commit was SVN r25245.
Этот коммит содержится в:
Ralph Castain 2011-10-10 16:38:46 +00:00
родитель 649af6c925
Коммит f1a3a35fcd

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

@ -745,14 +745,11 @@ int orte_daemon_process_commands(orte_process_name_t* sender,
}
/* kill the local procs */
orte_odls.kill_local_procs(NULL);
/* if all our dependent routes are gone, exit */
if (0 == orte_routed.num_routes()) {
if (ORTE_PROC_IS_HNP) {
orte_jobs_complete();
} else {
orte_quit();
}
}
/* trigger our appropriate exit procedure
* NOTE: this event will fire -after- any zero-time events
* so any pending relays -do- get sent first
*/
orte_quit();
return ORTE_SUCCESS;
break;