- Minor style fixes
- Return ORTE_SUCCESS, not ORTE_ERR_NOT_IMPLEMENTED This commit was SVN r5529.
Этот коммит содержится в:
родитель
c6ff7fdbe4
Коммит
ca35c1276c
@ -330,10 +330,11 @@ int orte_pls_fork_terminate_job(orte_jobid_t jobid)
|
||||
}
|
||||
OBJ_RELEASE(value);
|
||||
}
|
||||
if(NULL != values)
|
||||
if(NULL != values) {
|
||||
free(values);
|
||||
}
|
||||
free(segment);
|
||||
return ORTE_ERR_NOT_IMPLEMENTED;
|
||||
return ORTE_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@ -352,7 +353,7 @@ int orte_pls_fork_finalize(void)
|
||||
}
|
||||
OMPI_THREAD_UNLOCK(&mca_pls_fork_component.lock);
|
||||
}
|
||||
return ORTE_ERR_NOT_IMPLEMENTED;
|
||||
return ORTE_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@ -416,8 +417,9 @@ static int orte_pls_fork_launch_threaded(orte_jobid_t jobid)
|
||||
ompi_evtimer_add(&event, &tv);
|
||||
|
||||
OMPI_THREAD_LOCK(&stack.mutex);
|
||||
while(stack.complete == false)
|
||||
while(false == stack.complete) {
|
||||
ompi_condition_wait(&stack.cond, &stack.mutex);
|
||||
}
|
||||
OMPI_THREAD_UNLOCK(&stack.mutex);
|
||||
OBJ_DESTRUCT(&stack);
|
||||
return stack.rc;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user