Cannot update the proc state prior to activating the state machine as some callback functions need to compare the prior proc state against the new one.
cmr=v1.8.2:reviewer=jsquyres This commit was SVN r31949.
Этот коммит содержится в:
родитель
b771388fa7
Коммит
b2413a6b88
@ -312,7 +312,9 @@ void orte_plm_base_recv(int status, orte_process_name_t* sender,
|
||||
ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND);
|
||||
ORTE_FORCED_TERMINATE(ORTE_ERROR_DEFAULT_EXIT_CODE);
|
||||
}
|
||||
proc->state = state;
|
||||
/* NEVER update the proc state before activating the state machine - let
|
||||
* the state cbfunc update it as it may need to compare this
|
||||
* state against the prior proc state */
|
||||
proc->pid = pid;
|
||||
proc->exit_code = exit_code;
|
||||
ORTE_ACTIVATE_PROC_STATE(&name, state);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user