Merge pull request #1190 from kawashima-fj/pr/sm-win-test-fix
osc/sm: Fix a bug that `MPI_WIN_TEST` does not update `flag` to 0
Этот коммит содержится в:
Коммит
dae3746d2f
@ -315,6 +315,8 @@ ompi_osc_sm_test(struct ompi_win_t *win,
|
|||||||
OBJ_RELEASE(module->post_group);
|
OBJ_RELEASE(module->post_group);
|
||||||
module->post_group = NULL;
|
module->post_group = NULL;
|
||||||
*flag = 1;
|
*flag = 1;
|
||||||
|
} else {
|
||||||
|
*flag = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
OPAL_THREAD_UNLOCK(&module->lock);
|
OPAL_THREAD_UNLOCK(&module->lock);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user